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

Handle metadata more elegantly #320

Open
albertmeronyo opened this issue Feb 12, 2021 · 0 comments
Open

Handle metadata more elegantly #320

albertmeronyo opened this issue Feb 12, 2021 · 0 comments

Comments

@albertmeronyo
Copy link
Member

Currently we are just catching (thanks @c-martinez ) errors when we fail to parse query metadata. These are situations in which the parsing will most probably fail:

  • Empty line at the beginning of the metadata section
  • More than one empty line at the end of the metadata section
  • Inconsistent indenting
  • Etc.
    At the moment the backend fails silently, and simply no OpenAPI spec is rendered for the offending query metadata. Using the UI to at least show some error (and suggestions for fixing) would be a great addition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant