Skip to content

readOnly fields are displayed in the code examples for PATCH requests #2722

@collimarco

Description

@collimarco

This issue is present when there are some readOnly fields in a PATCH request.

The readOnly fields should not be included in the PATCH request.

The documentation is correct, but the examples on the right show the readOnly fields.

Expected: those fields should not be included in the examples.

Here's a code example to reproduce this issue:
https://github.com/pushpad/pushpad-openapi/blob/master/specification/resources/subscriptions/subscriptions_update.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions