0.1.0 • Published 3 years ago
@fresha/openapi-codegen-client-typescript v0.1.0
@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-codegenUsage
Listing available options
npx fresha-openapi-codegen client-typescript --helpGenerating 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-apiwhere:
--json-api is used to make generator generate the code according to JSON:API specification
0.1.0
3 years ago