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

Output fewer newlines when validation is successful #48

Closed
zeke opened this issue Oct 22, 2019 · 2 comments
Closed

Output fewer newlines when validation is successful #48

zeke opened this issue Oct 22, 2019 · 2 comments
Assignees

Comments

@zeke
Copy link

zeke commented Oct 22, 2019

⚠️ Very minor issue alert! ⚠️

The output below has a lot of extra newlines. I can see why those newlines would be helpful in cases where there are many errors per schema, but when there are no errors it looks a bit spacious:

> openapi validate openapi/*.yml



openapi/api.github.com.yml results. Errors: 0, warnings: 0
    

openapi/ghe-2.15.yml results. Errors: 0, warnings: 0


openapi/ghe-2.16.yml results. Errors: 0, warnings: 0


openapi/ghe-2.17.yml results. Errors: 0, warnings: 0


openapi/ghe-2.18.yml results. Errors: 0, warnings: 0
Total results. Errors: 0, warnings: 0
@zeke zeke changed the title Display fewer newlines in out for a successful result Output fewer newlines when validation is successful Oct 22, 2019
@knidarkness knidarkness self-assigned this Oct 23, 2019
@knidarkness
Copy link
Contributor

Thanks for feedback! This was resolved by #51, so I would close this issue.

@zeke
Copy link
Author

zeke commented Oct 23, 2019

Nice!

@zeke zeke closed this as completed Oct 23, 2019
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

2 participants