title: NestJS swagger generated docs do not show param information
body: <p>I am working on a node.js server that uses the NestJS framework. I want to auto-build API documentation for the app using <a href="https://docs.nestjs.com/openapi/introduction" rel="noreferrer">NestJS's swagger integration</a>.</p>
  <p>Documentation generated correctly for my controller methods that the utilized <code>@Body()</code> approach for controller data exchange. It did not work correctly for controller methods that used the <code>@Param()</code> approach. An example controller that fails to generate correct documentation:</p>
  <pre><code>  @Get('/:identifier')
    @RouteLogger()
    @ApiParam({name: 'identifier', required: true, description: 'either an integer for the project id or a string for the project name', schema: { oneOf: [{type: 'string'}, {type: 'integer'}]}})
    async getProject(
      @Param('identifier')
      identifier: string | number,
      @Res() res: Response
    ) { }
  </code></pre>
  <p>This generates the following in the swagger UI:</p>
  <p><a href="https://i.stack.imgur.com/F8WC1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/F8WC1.png" alt="enter image description here" /></a></p>
  <p>You can see that the endpoint in swagger UI fails to show the endpoint having any parameters. What is the correct way of writing a GET endpoint for a nestJS controller with <code>@Param</code>s such that swagger will correctly generate documentation?</p>