An open API service indexing awesome lists of open source software.

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

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