Skip to content

Description next to $ref gets removed #18

@JeroenVanOort

Description

@JeroenVanOort

I'm working with an OpenAPI spec like this:

responses:
        200:
          $ref: '#/components/responses/UserResponse'
          description: The updated user.

I use this project to resolve references to external files and to convert to JSON. While doing so, I saw that the description is dropped. The result is like this:

responses:
        200:
          $ref: '#/components/responses/UserResponse'

I know that before, no siblings of $ref were allowed. In 3.1 however, some (like description and summary) are. It would be nice to have support for that in this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions