You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classHelloQuery{/** * username description * @example shaun */name: string/** * age description * @example 35 */age?: number}
@Controller()exportclassAppController{constructor(privatereadonlyappService: AppService){}/** * This is endpoint * @description This is endpoint description * @summary This is endpoint summary */
@Get()// Must use following statement and work :(// @ApiOperation({ description: 'Endpint description created by `ApiOperation`' })getHello(@Query()query: HelloQuery): string{returnthis.appService.getHello();}}
Is there an existing issue for this?
Current behavior
I try to use CLI Plugin to generate descriptions for properties and endpoints based on comments, only the property work
Core Code
Output File
Minimum reproduction code
https://github.com/shaunhurryup/nestjs-swagger-bug-report
Steps to reproduce
You can see
demo.swagger.json
in the root directoryExpected behavior
Package version
7.3.1
NestJS version
9.4.3
Node.js version
v16.20.2
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: