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

Don't warn when using string "default" as status code in OASv2 #521

Merged
merged 2 commits into from
Dec 17, 2019

Conversation

lafrech
Copy link
Member

@lafrech lafrech commented Dec 11, 2019

This warning was introduced in #436.

According to https://swagger.io/docs/specification/2-0/describing-responses/ (section "Default Response"), "default" is a valid code.

Since the warning is not tested, I didn't modify any test.

@lafrech
Copy link
Member Author

lafrech commented Dec 11, 2019

Pinging @DStape who authored #436.

@lafrech lafrech merged commit ab9e4f4 into dev Dec 17, 2019
@lafrech lafrech deleted the code_str_default_oas2 branch December 17, 2019 15:11
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