Skip to content

Fix issue with Body<T> missing @doc#2332

Merged
tjprescott merged 1 commit into
microsoft:mainfrom
tjprescott:bodyTDoc
Aug 28, 2023
Merged

Fix issue with Body<T> missing @doc#2332
tjprescott merged 1 commit into
microsoft:mainfrom
tjprescott:bodyTDoc

Conversation

@tjprescott

Copy link
Copy Markdown
Member

Fixes #2238.

@github-actions

Copy link
Copy Markdown
Contributor

Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status):
Playground: https://cadlplayground.z22.web.core.windows.net/prs/2332/

Website: https://cadlwebsite.z1.web.core.windows.net/prs/2332/

Comment thread packages/http/lib/http.tsp Outdated
Comment thread packages/openapi3/test/metadata.test.ts Outdated
},
},
requestBody: {
description: "The body.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might need to send a comparable PR on the typespec-azure side too because Body<T> may be used in Azure Core

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tjprescott
tjprescott merged commit c2a906b into microsoft:main Aug 28, 2023
@tjprescott
tjprescott deleted the bodyTDoc branch August 28, 2023 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Body model in typespec.http results in warning due to missing doc decorator

2 participants