Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tjuerge opened this issue Sep 12, 2023 · 0 comments
Open

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

tjuerge opened this issue Sep 12, 2023 · 0 comments

Comments

@tjuerge
Copy link

tjuerge commented Sep 12, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant