0.7.1 • Published 11 months ago

@fresha/openapi-codegen-cli v0.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@fresha/openapi-codegen-cli

The code generator CLI for RESTful APIs.

Installation

$ npm install @fresha/openapi-codegen-cli

Usage

Listing available generators

$ npx fresha-openapi-codegen --help

Typical output of the command above. Each generator is implemented as a separate command:

Usage

Commands:
  fresha-openapi-codegen server-nestjs  generates code for NestJS

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

Generating source code

As an example, we'll use NestJS generator. For more details, please see its documentation.

$ npx fresha-openapi-codegen server-nestjs \
  --input ~/Developer/openapi/schema.yaml \
  --output ~/Developer/nestjs-project
  --nest-app web
  --json-api
0.7.1

11 months ago

0.7.0

11 months ago

0.6.0

11 months ago

0.5.7

12 months ago

0.5.6

12 months ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.5

1 year ago

0.5.0

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.16

1 year ago

0.3.15

1 year ago

0.3.9

1 year ago

0.3.14

1 year ago

0.3.13

1 year ago

0.3.12

1 year ago

0.3.11

1 year ago

0.3.10

1 year ago

0.3.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.2.0

2 years ago

0.1.3

2 years ago