-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: fix incorrect example of @statusCode
#3230
doc: fix incorrect example of @statusCode
#3230
Conversation
@microsoft-github-policy-service agree |
Dear Maintainer, Thanks for this useful tool! |
/azp run typespec - pr tools |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run typespec - pr tools |
Azure Pipelines successfully started running 1 pipeline(s). |
❌ There is undocummented changes. Run The following packages have changes but are not documented.
Show changes |
Issue Description
There is a example of
TypeSpec.http.@statusCode
here. However, the property name is missing in this example. Due to this, the code did not work as expected.Instead, specifying the property name as follows made it work correctly:
Fix Description
TypeSpec.http.@statusCode
in the reference and documentation.