@fresha/openapi-codegen-client-typescript
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@fresha/openapi-codegen-client-typescript

OpenAPI code generator for TypeScript clients.

Installation

This generator is installed along with @fresha/openapi-codegen.

$ npm install @fresha/openapi-codegen

Usage

Listing available options

npx fresha-openapi-codegen client-typescript --help

Generating source code

npx fresha-openapi-codegen client-typescript \
  --input PATH_TO_OPENAPI_SCHEMA_FILE
  --output ROOT_DIR_OF_NESTJS_PROJECT
  --nest-app NAME_OF_NESTJS_SUBAPP
  --json-api

where:

--json-api is used to make generator generate the code according to JSON:API specification

Package Sidebar

Install

npm i @fresha/openapi-codegen-client-typescript

Weekly Downloads

8

Version

0.1.0

License

MIT

Unpacked Size

8.21 kB

Total Files

10

Last publish

Collaborators

  • dziala
  • kondrat-fresha
  • dnaploszek
  • rafal.panasiuk.fresha
  • mykulyak
  • fresha_root
  • wokay_fresha