Skip to content

Validation rule violation of a missing response is reported twice #683

Open
@tjuerge

Description

@tjuerge

With activated global validity rule uploading an OpenAPI artifact with a missing response triggers two validation rule violations with similar text:

image

Example upload:

openapi: 3.0.3

info:
  title: Test
  version: 1.0.0

paths:
  /v1/test:
    get:
      operationId: test
      parameters:
        - name: PARAM
          in: header
          schema:
            type: string

Is it intended that in this case both rules are violated - OasMissingOperationResponsesRule and OasMissingResponseForOperationRule?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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