Skip to content

Conversation

pboos
Copy link
Contributor

@pboos pboos commented Nov 1, 2023

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 a review from a team as a code owner 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