stencil
stencil copied to clipboard
feat: auto generate swagger decorators
Description
Write a parser to read through the controller definitions, look for @Query()
and @Body()
decorators in function signature and generate corresponding swagger decorators like @ApiQuery()
, @ApiResponse()
and @ApiRequest()
.
This should be a CLI command, something like stencil add swagger
.
Ref: #2