title: How to update NestJS Swagger module but use OpenAPI 2.0(Swagger)?
body: <p>We are making an API in Node.js/Typescript with NestJS framework. We use <code>@nestjs/swagger</code> package to make it conform to OpenAPI(formerly known as Swagger). It is inteneded to be used with <code>Azure/autorest</code> to generate client code.</p>
  
  <p>Autorest supports OpenAPI 2.0 and not 3.0 yet. <code>@nestjs/swagger 3.*.*</code> implemented OpenAPI 2.0. When we update <code>@nestjs/swagger</code> to <code>4.*.*</code> it turns into OpenAPI 3.0. This doesn't fit our needs because we can't use Autorest anymore. On the other hand not updating the package means we might miss out security updates or not even be able to update the entire NestJS framework.</p>
  
  <p>Is there any way to update <code>@nestjs/swagger</code> and stay with OpenAPI 2.0?</p>