Open HansG89 opened 4 years ago
Could you please tell me which packages version you have for
@nestjs/*
@nestjs/swagger
I just give a try with latest versions of nestjs and swagger with the latest v0.2.2, all seems works correctly.
Hi,
I updated all packages recently. But the problem is still there.
dependencies:
dev dependencies:
The problem is still there with the latest 7.x version of nestjs and "@nestjs/swagger": "^4.5.12"
Could you provide me a git sample project to reproduce it? Otherwise, could you try with the latest v1.0.0 available ?
still not working with latest versions of everything
When using the
PromMethodCounter
decorator on a controller function it will break the API documentation beginning from the line where the decorator was added.Example
The following code generates API documentation for
ApiOperation
,ApiResponse
andData
. But it will not generate documentation for the query parameters.When I switch the order of decorators, only the basic documentation for the GET function is generated. Everything else is missing (also the model for
Data
)When I remove
PromMethodCounter
the API documentation is working as expected.