Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Support readOnly on openapi2 (swagger) #651

Open
DanielMerchan opened this issue Sep 3, 2021 · 0 comments
Open

Support readOnly on openapi2 (swagger) #651

DanielMerchan opened this issue Sep 3, 2021 · 0 comments

Comments

@DanielMerchan
Copy link

Currently we have migrated all our APIs from Blueprint to Swagger 2.0 (Open API 2.0).
We have seen readOnly on schema attributes is ignored and it makes confusing the rendering of the body requests for the POST, PUT or GET operations which uses the same Schema object.

In Swagger editor, the readOnly attributes are automatically hidden for POST, PUT, PATCH operations.
However, in Apiary you see the entire object always which can create confusion to consumers which attributes are really necessary or not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant