Skip to content

feat: create new rule to check responses with $ref without responseBody #53

@marcosanz-apiquality

Description

@marcosanz-apiquality

Feature Request

Describe the Feature Request

Sometimes, we want to define the apis with the response
responses:
'206':
description: Ok
content:
application/json:
schema:
$ref: '#/components/schemas/standard_response_greetings'
examples:
Ejemplo:
$ref: '#/components/examples/get_greetings_response_example'

and not with $ref : XXXresponseBody

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
Yes / No (Help can be provided if you need assistance submitting a PR)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions