Open karlismelderis-mckinsey opened 2 weeks ago
We run into the same issue
Please provide a minimum reproduction repository. You can start one by running npm init nest
in your terminal
I uploaded a newly created project with minimal dependencies: nestjs swagger and terminus. If you start the app I write the swagger to the dist folder. Try importing the generated swagger in https://editor.swagger.io/ and you can see the issue
Did you read the migration guide?
Is there an existing issue that is already proposing this?
Potential Commit/PR that introduced the regression
No response
Versions
No response
Describe the regression
Now when
@nestjs/swagger
got new major version@nestjs/terminus
fails to generate correct API specMinimum reproduction code
ApiOperation
is from@nestjs/swagger:8.0.2
andHealthCheck
is from@nestjs/terminus:10.2.3
generated API spec has "schema" key that's failing OpenAPI spec validation
Expected behavior
I expect to get correct API spec generated 🙏
Other
No response