-
Notifications
You must be signed in to change notification settings - Fork 15
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
Error when using $ref for components/parameters #58
Labels
Comments
I have used the online swagger-parser tool (https://apidevtools.org/swagger-parser/online/#) to test using the same api file. No error. |
I need to check it, can you provide a simple reproducer? |
I cut a model that reproduce the error:
|
Thank you 😄 |
Hello @slinkydeveloper , have you reproduced the error ? |
Sorry I had not enough time to work on it, i fix it asap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was generating maven java OpenAPI Server project properly while evolving my openapi model.
But when I moved some parameters to components/parameters and referenced them inside paths I started to get errors on the generation.
See the example below. It contains 2 parameters.
When I let only orderBy parameter the generation is ok. But if I use the reference I got the error:
Exception during code generatione is undefined
TypeError: e is undefined
The text was updated successfully, but these errors were encountered: