-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
openapi-spec-validator fails for integer response codes #79
Comments
I ran into this, trying to use Converting the YAML to JSON first and validating the JSON works, however validating the YAML should also be supported. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current SwaggerHub implementation exports YAMLs with responses looking like:
This leads openapi-spec-validator to fail trying to apply a regex to the 200 status code. Assuming what SwaggerHub exports is correct, openapi-spec-validator should not fail on such an input...
The text was updated successfully, but these errors were encountered: