Skip to content
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

Merged
merged 8 commits into from
Mar 1, 2024

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Feb 7, 2024

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 contains readOnly: true.

@azure-sdk
Copy link
Collaborator

azure-sdk commented Feb 7, 2024

All changed packages have been documented.

@azure-sdk
Copy link
Collaborator

Copy link
Member

@timotheeguerin timotheeguerin left a 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)

@daviwil
Copy link
Contributor Author

daviwil commented Feb 8, 2024

@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

@timotheeguerin timotheeguerin enabled auto-merge (squash) March 1, 2024 01:03
@timotheeguerin timotheeguerin merged commit 9b6e252 into Azure:main Mar 1, 2024
14 checks passed
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.

4 participants