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

When yml file not found, returns parsing errors #1449

Closed
alexcuesta opened this issue Nov 14, 2018 · 2 comments · Fixed by #1495
Closed

When yml file not found, returns parsing errors #1449

alexcuesta opened this issue Nov 14, 2018 · 2 comments · Fixed by #1495

Comments

@alexcuesta
Copy link

Description

When providing an non existing file to the generator, it returns parsing errors instead of a simple message saying "file not found".

It is confusing.

openapi-generator version

0.5.0

OpenAPI declaration file content or url

N/A

Command line used for generation

og unexistingfile.yml markdown

Steps to reproduce

Just run the command.

Related issues/PRs
Suggest a fix/enhancement

What about a message saying: File not found.

@ackintosh
Copy link
Contributor

Thanks for reporting this issue!

Your suggestion looks good. 👍 I'll working on the fix.

@ackintosh
Copy link
Contributor

@alexcuesta The PR which adds the error message has been merged. ✨ Please give it a try with latest master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants