apiyaml
Version:
41 lines (26 loc) • 788 B
Markdown
# apiyaml: api generator
## Main functions
- [x] [make - make api from .yaml file](#make)
## Usage
```shell
npx apiyaml
#or
npm i -g apiyaml # then starting use `apiyaml` command
```
### <a id="make">make</a>
```
Usage: apiyaml make [options]
make api from .yaml file
Options:
-i, --inputYaml [inputYaml] input yaml file path (local or https://) (default: "api.yaml")
-o, --outDir [outDir] output directory path (default: "docs")
-n, --name [name] name of output directory
-d, --genDefaults generate defaults (default: true)
-z, --genZodSchemas generate zod schemas (default: true)
-h, --help display help for command
```
## FAQ:
## Author:
ClassFunc Softwares JSC (https://classfunc.com)
## License:
MIT