0.0.9 • Published 4 years ago

@metyis-tools/generate-api v0.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

@metyis-tools/generate-api

## Usage

You can either use npx to execute it just like:

 $ npx @metyis-tools/generate-api -o ./src/api

or you can install it globally and run the command as metyis-api:

$ yarn global add @metyis-tools/generate-api
$ metyis-api -o ./src/api

Typical usage

Typical usage would be:

if running for the first time:

    $ npx @metyis-tools/generate-api -o ./src/api

subsequent runs:

    $ npx @metyis-tools/generate-api -o ./src/api -i config/api-urls.json

## Options:

  • --help, -h Shows the help menu

  • --out, -o Output directory, here is where swagger-typescript-api will generate its files.

  • --in, -i Input json. If the project where this is going to be used already has a file with all the needed urls (by default config/api-urls.json) it'll use the EP's provided here.

  • --clean, -c Cleans the output directory before generating

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago