Skip to content

bugfix: exclude 406 status code violations - #48

Merged
pboos merged 1 commit into
mainfrom
bugfix/exclude-406-response-status-code
Nov 1, 2023
Merged

pboos merged 1 commit into
mainfrom
bugfix/exclude-406-response-status-code

Conversation

@pboos

@pboos pboos commented Nov 1, 2023

Copy link
Copy Markdown
Contributor

Excludes violations similar to this one:

OpenAPI spec validation error [validation.response.status.unknown]
GET https://api.example.com/users
Response Status Code: 406

INFO - Response status 406 not defined for path '/users'.: []

Reason
If the service returns a 406 this is the expected response if a client asks for something the service can't deliver.

@pboos
pboos requested review from a team and catarina-correia November 1, 2023 10:53
@pboos
pboos merged commit 8bd59c6 into main Nov 1, 2023
@pboos
pboos deleted the bugfix/exclude-406-response-status-code branch November 1, 2023 14:05
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

Successfully merging this pull request may close these issues.

2 participants