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

Support readOnly on openapi2 (swagger) #651

Description

@DanielMerchan

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions