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

Exit gracefully when validating a non-OAS file #132

Closed
adamaltman opened this issue May 15, 2020 · 1 comment
Closed

Exit gracefully when validating a non-OAS file #132

adamaltman opened this issue May 15, 2020 · 1 comment

Comments

@adamaltman
Copy link
Member

Inspired by: #127

If we do not detect the file to be OAS 2 or 3, we should exit gracefully with an error, and leave an error message:

The file is not in OpenAPI 2 or 3 format.

@adamaltman
Copy link
Member Author

Solved in #146

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

No branches or pull requests

1 participant