Supports only OpenAPI v3.0
# SETUP GLOBALLY
npm install -g @nestia/migrate
# DO MIGRATE
npx @nestia/migrate swagger.json output_directory
@nestia/migrate
converts swagger.json
file to a NestJS project.
When you run npx @nestia/migrate swagger.json <output>
command, @nestia/migrate
will analyze your swagger.json
file, and generate a NestJS project into the <output>
direcory. If you're considering to migrate your backend project to NestJS, @nestia/migrate
will be a good starting point.
Also, @nestia/sdk
can generate below things from NestJS project. It means that, with @nestia/migrate
, you can generate SDK Library or Mockup Simulator from every backend projects. If you don't have plan to migrate to NestJS, but hope to take advantages of it, @nestia/migrate
will be a good choice. Languages and frameworks, they're no longer matter in backend development. Let's enjoy the new worls with @nestia/migrate
.
What's Changed
- Exact SDK accessor in E2E generator by @samchon in #448
- Exact swagger generation for uuid typed path param by @samchon in #449
- Fix samchon/typia#706 - support
exactOptionalPropertyTypes
by @samchon in #452 - Evolve e2e test functions and swagger generators by @samchon in #453
- Support text/plain body on SDK by @samchon in #455
- Close #292 -
@nestia/migrate
by @samchon in #450
Full Changelog: v1.4.2...v1.4.3