Skip to content

Rule in OpenApiResponsesRules is too restrictive. #214

@PerthCharern

Description

@PerthCharern

Spec (both V2 and V3):

The Responses Object MUST contain at least one response code, and it SHOULD be the response for a successful operation call.

Our rule:

Responses must contain success response

What I think we should do:

Just check that there is one response. We don't have the capability for the SHOULD type of rule right now.

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