Azure / Azure/typespec-rust

Use serializationOptions to determine request/response format

Open
#885 1 comment 0 reactions 0 assignees View on GitHub
CodeGen
Dominant language
Rust
Stars
7
Forks
11
Avg merge
2d 5h
Merged PRs (30d)
5

Description

Observed in https://github.com/microsoft/typespec/blob/main/packages/http-specs/specs/type/model/visibility/main.tsp#L51-L67

Since this is a `GET` there shouldn't be a body, which is presumably why `serializationOptions` is `undefined`. However, we set this type as the body. In addition, note that the model contains a query param which is currently omitted in codegen.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.