-
Notifications
You must be signed in to change notification settings - Fork 281
Fix: Invalid example for @header
decorator
#7504
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
base: main
Are you sure you want to change the base?
Conversation
website/src/content/docs/docs/libraries/http/reference/decorators.md
Outdated
Show resolved
Hide resolved
5916b5d
to
6a42b0f
Compare
@microsoft-github-policy-service agree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
All changed packages have been documented.
|
e6fc36c
to
1a33611
Compare
Co-authored-by: Timothee Guerin <[email protected]>
Boop, this is still open 🫵 |
@bitfl0wer the CI is failling, I believe its because the decorator generated TS signatures also need to be updated with the new content. If you run a |
The current documentation for the
@header
HTTP decorator contains an example which has been valid inv0.6.x
, but is not valid inv1.0.0
of TypeSpec.The current, live example yields the following error:
This PR removes the deprecated "format" key from the example, fixing the issue.