-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Adding Swagger #1
Comments
@rdlabo ? |
Hi, same problem. Is there any clue or solution on developer side? |
Try app.init() after the setup, that seems to work. |
I also had the same problem. Solved by adding the another bootstrap script for swagger only (not the best approach, but it works). So the serverless main handler is still the
Run swagger server swagger.ts code example from the https://docs.nestjs.com/recipes/swagger
|
I update this repository for nestjs6. And added swagger.ts, and write README. @ansoncen Thanks. It was helpful. |
How can I use Swagger with same port as the index.ts ( Serverless Lambda ) ?
I am 100% sure I have 'swagger-ui-express' in my project. |
function bootstrapServer(): Promise { This is mine index.ts |
Take a look at nestjs/swagger#199, |
Hi,
I would like to add a Swagger to my Nest application using the following method: https://docs.nestjs.com/recipes/swagger but I can't make it work with the serverless version of index.ts
Here is my actual code:
Do you know how I could make it work?
Thank you in advance!
The text was updated successfully, but these errors were encountered: