Skip to content

Error matching ResponseBody without 'content' #49

@domiTEN

Description

@domiTEN

Hi,

I just made a pull request (#48) that should solve an issue matching response bodies like this:

   response:
      '401':
         $ref: '#/components/responses/Unauthorized' 

This is because the 'content' tag is not present and you suppose there is no body in the response.

According to swagger specification, the example above is well formed (https://swagger.io/docs/specification/describing-responses/).

Thanks!

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