Skip to content

Validate Document Version #281

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

Closed
dbanty opened this issue Dec 30, 2020 · 0 comments · Fixed by #302
Closed

Validate Document Version #281

dbanty opened this issue Dec 30, 2020 · 0 comments · Fixed by #302
Labels
✨ enhancement New feature or improvement
Milestone

Comments

@dbanty
Copy link
Collaborator

dbanty commented Dec 30, 2020

Attempting to use OpenAPI v2 documents with this tool is a common enough issue that it's surfaced multiple times. It's probably worth adding a version check to ensure the document is 3.x. We could go a step further and use semver to even warn about minor spec versions (e.g. 3.1) that we haven't added support for yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or improvement
Projects
None yet
1 participant