title: How to add summary and body manually in swagger nestjs
body: <p>I am trying to add summary in my swagger documentation routes but I am not able to find the appropriate decorator for defining the summary.</p>
  
  <p>There are some routes in which I have not specified any DTO's. So, I would like to manually add request body for that endpoint.</p>
  
  <p><strong>user.controller.ts</strong></p>
  
  <pre><code>@Controller('users')
  @ApiTags('User')
  @ApiBearerAuth()
  export class UsersController {
  
    constructor(private readonly service: UsersService) {}
  
    @Get()
    async findAll() {
      const data = await this.service.findAll();
  
      return {
        statusCode: 200,
        message: 'Users retrieved successfully',
        data,
      };
    }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/cWMBD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cWMBD.png" alt="Swagger"></a></p>
  
  <p><strong>auth.controller.ts</strong></p>
  
  <pre><code>  @UseGuards(AuthGuard('local'))
    @Post('login')
    @ApiParam({
      name: 'email',
      type: 'string'
    })
    @ApiParam({
      name: 'password',
      type: 'string'
    })
  
    async login(@Request() req) {
      return this.authService.login(req.user);
    }
  </code></pre>