-
Notifications
You must be signed in to change notification settings - Fork 2
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
The property '#/' did not contain a required property of 'swagger' #8
Comments
First off, thanks for using this project! Sorry I haven't replied to this sooner. I've been meaning to debug it but have been busy with work. I actually haven't tested this with version 3 of the spec. I should have put in the README that it's only v2 supported. My guess is that the json scheme I have for validating that your json is valid is failing because it's checking for v2 formatting. However, I haven't confirmed that. This gem simply adds spec helpers around the validations in the https://github.com/ketiko/open_api-schema_validator gem. That gem recently had v3 support added to it. We could now enhance this gem to support either format. I don't have the time right now, but I'd be happy to help if someone made an initial PR with a possible solution. I would love to add v3 support, it just might take me a bit of time until I could do it on my own. Thanks again for using this project! I hope it's been helpful to you in the past if you had other v2 projects. |
Will add v3 support soon. Already put the starting pieces into the schema-validator gem for that. |
Fix won't happen immediately as I'm on vacation the next 2 weeks. |
Hey, I am trying to use Open API v3 that I made in SwaggerHub but it fails for me with given error. Any idea what could be the problem?
Spec
Error
Schema
The text was updated successfully, but these errors were encountered: