-
Notifications
You must be signed in to change notification settings - Fork 40
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
Azure Page
type nextLink
properties should be readOnly: true
#231
Conversation
All changed packages have been documented. |
You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/231/ Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/231/ |
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.
Looks good, is there any breaking change issue with this? (apart from the swagger spec will need to be regenerated in spec repos)
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
@timotheeguerin We probably should mention it. This is something that should have been set to begin with but got missed during Azure Core development. @allenjzhang and I discussed that it's worth introducing a break. Anyone else have opinions here? @markcowl @johanste |
This PR fixes https://github.com/Azure/typespec-azure-pr/issues/3924 by marking
nextLink
properties with@visibility("read")
so that the OpenAPI output for these properties containsreadOnly: true
.