https://github.com/classfunc/api-generator
Make api from .yaml file
https://github.com/classfunc/api-generator
Last synced: 6 months ago
JSON representation
Make api from .yaml file
- Host: GitHub
- URL: https://github.com/classfunc/api-generator
- Owner: ClassFunc
- Created: 2024-12-03T04:45:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-05T09:45:30.000Z (about 1 year ago)
- Last Synced: 2025-05-05T14:46:35.669Z (12 months ago)
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/apiyaml
- Size: 737 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```
### make
```
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