-
Notifications
You must be signed in to change notification settings - Fork 36
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
Nest Router with Swagger doesn't show correct routes #3
Comments
Hi @mentos1386 |
it is ok now |
Thought this my be related. I am having an issue with swagger generating routes with regards to nested resource, for example if I have the following routes:
The generated swagger document will generate the following route where
In order to work correctly with the swagger UI what it should generate is the below route (Notice the curly brackets):
Any ideas? My dependencies are:
|
I'm facing the same problem as @alexvanzyl |
@Joel-Raju @alexvanzyl any minimal repository to reproduce that behavior? |
@shekohex checkout this example https://github.com/Joel-Raju/nest-router/tree/master/examples/heroes see the endpoint generated by swagger for |
@Joel-Raju @alexvanzyl the hot fix is on its way nestjs/swagger#253 😃 |
@Joel-Raju @alexvanzyl it dose not seem to be a hot fix at all 😂 , it just got merged now thanks :) |
I have the same problem with DmytroMysak |
@shekohex this appears to still be an issue |
Hi @chriskuech
I fix it by moving from the nest-router external package to the one included in @nestjs/core as explained in the readme of this project:
|
If we use nest router with swagger module. Swagger module doesn't know the correct routes. Is it even possible to implement this?
The text was updated successfully, but these errors were encountered: