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

Fix readOnly parse problem in swagger #346

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

kairu-ms
Copy link
Collaborator

@kairu-ms kairu-ms commented Apr 9, 2024

The readOnly property can be defined in both schema and it's reference. This PR fixed the readOnly problem recognize for schema like this https://github.com/Azure/azure-rest-api-specs/blob/13962fb6f539de6125f94cdfdf177bfcd24efcb4/specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2024-03-15-preview/apicenter.json#L3649-L3653

@kairu-ms kairu-ms changed the title Fix swagger readOnly problem Fix readOnly parse problem in swagger Apr 9, 2024
@kairu-ms kairu-ms requested a review from AllyW April 9, 2024 04:34
@kairu-ms kairu-ms self-assigned this Apr 9, 2024
@kairu-ms kairu-ms merged commit 7ddeccb into Azure:dev Apr 9, 2024
3 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.

2 participants