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

Show error for unsupported references to operations or models #76

Open
margarita-v opened this issue Nov 3, 2021 · 0 comments
Open

Comments

@margarita-v
Copy link
Contributor

If swagger has features which are not supported yet:

paths:
  /auth/login:
    $ref: "./auth/auth_login.yml"

schemas:
    $ref: "./definitions.yml"

than surfGen lint command will be successful anyway (probably because linter has an empty list of operations and finishes successfully). But surfGen generate command fails with [1] 90705 trace trap error.
It would be great if SurfGen showed the detailed error message for this unsupported case, because currently it is not obvious and seems to be wrong

@dmitryd20 dmitryd20 added the 3 label Nov 7, 2021
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

2 participants