https://github.com/kherp/swagger-codegen-openapi
generate code from openapi/ swagger
https://github.com/kherp/swagger-codegen-openapi
codegen mustache openapi swagger
Last synced: 10 months ago
JSON representation
generate code from openapi/ swagger
- Host: GitHub
- URL: https://github.com/kherp/swagger-codegen-openapi
- Owner: kherP
- License: apache-2.0
- Created: 2020-08-27T07:44:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T04:20:26.000Z (about 3 years ago)
- Last Synced: 2025-04-15T00:17:51.218Z (10 months ago)
- Topics: codegen, mustache, openapi, swagger
- Language: Mustache
- Homepage: https://kherp.github.io/swagger-codegen-openapi/
- Size: 1.25 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/swagger-codegen-openapi)
[](http://commitizen.github.io/cz-cli/)
[](https://github.com/semantic-release/semantic-release)
[](https://dependabot.com)


# OpenAPI Code generator
## Installation
### npm
```terminal
npm i swagger-codegen-openapi -D
```
### yarn
```terminal
yarn add swagger-codegen-openapi -D
```
## Usage
Add this to your scripts and execute `generate:api` whenever you need to generate APIs
```json
"generate:api" : "generate-api -i swaggerUrl -g typescript-axios"
```
## Documentation
Read more about how to use it in our [documentation](https://kherp.github.io/swagger-codegen-openapi/).