Question · NestJS course · Module 11: Swagger and OpenAPI
Summary: Generating the OpenAPI Document
Which method generates the OpenAPI document from the configuration and the NestJS application?
Answer options
- SwaggerModule.setup()
- SwaggerModule.createDocument()
- DocumentBuilder.build()
- OpenApiModule.generate()
You can check the correct answer by solving this task in the CodeWorlds game.