Reputation: 6053
Does anybody know of a way to automatically generate NestJS typescript code from Swagger?
Upvotes: 2
Views: 1258
Reputation: 16849
Just found a project that claims it can generate Nest.js code from a Swagger / OpenAPI spec file:
swagger-nestjs-codegen on Github and on npmjs.com
Did not test it yet, though.
Upvotes: 1
Reputation: 70570
Currently, there are no packages that build a Nest server based on a swagger.json file. Would be a cool project though
Upvotes: 4