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

YAML indentations #349

Open
bajiat opened this issue Nov 9, 2017 · 1 comment
Open

YAML indentations #349

bajiat opened this issue Nov 9, 2017 · 1 comment
Labels

Comments

@bajiat
Copy link
Contributor

bajiat commented Nov 9, 2017

Ensure that yaml output is indented properly and the file produced by OpenAPi designer can be used/viewed in Swagger Hub.

Also, ensure that the yaml indentations are properly formatted and displayed in the "Editable output" view.

@tulir
Copy link
Collaborator

tulir commented Nov 9, 2017

Could you elaborate this a bit?

I'm pretty sure we can trust the YAML library, and validating it with yet another library is just pointless. If you mean that some fields are on the wrong YAML level, then it's a problem with the editor/object structure and not YAML.

Input YAML validation also seems useless: the parser error message should be enough.

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

No branches or pull requests

3 participants