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

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

Awesome Lists containing this project

README

          

[![https://img.shields.io/npm/v/swagger-codegen-openapi](https://img.shields.io/npm/v/swagger-codegen-openapi)](https://www.npmjs.com/package/swagger-codegen-openapi)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=sebgroup/frontend-tools)](https://dependabot.com)
![https://img.shields.io/npm/l/swagger-codegen-openapi](https://img.shields.io/npm/l/swagger-codegen-openapi)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/swagger-codegen-openapi)

# 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/).