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

bugfix: exclude 406 status code violations #48

Merged
merged 1 commit into from
Nov 1, 2023

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