norgepaul
norgepaul

Reputation: 6053

NestJS codegen from Swagger API definition

Does anybody know of a way to automatically generate NestJS typescript code from Swagger?

Upvotes: 2

Views: 1258

Answers (2)

tanius
tanius

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

Jay McDoniel
Jay McDoniel

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

Related Questions