-
Notifications
You must be signed in to change notification settings - Fork 488
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
Swagger multiple document not working when use Nestjs Fastify #234
Comments
Line 71 in 9bdad6c
I don't think there's anything we can do right now. Under the hood, Try raising this issue to |
Thank you for your quick answer. When I working with nest + express, It's ok. But when I change to Fastify I encountered this error and I think that was the cause of Nestjs. |
No it’s not the cause of Nest. We use two different wrappers for Express (swagger-ui-express) and Fastify (fastify-swagger). Fastify Swagger sets up the decorator with a hardcoded “swagger” string under the hood, that prevents multiple swaggers to be registered with Fastify. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When I try to working Swagger multiple document with the nestjs + fastify , I had got error as below. Please kindly help me resolve it.
In the case use one document, it's work. It's not working when I add more than 1 document.
I use with versions.
The text was updated successfully, but these errors were encountered: