Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meabed/swagger-to-typescript-client
A CLI to Generate typescript axios client from swagger & openapi file
https://github.com/meabed/swagger-to-typescript-client
openapi3 swagger swagger-to-typescript swagger-typescript-api typescript
Last synced: 2 months ago
JSON representation
A CLI to Generate typescript axios client from swagger & openapi file
- Host: GitHub
- URL: https://github.com/meabed/swagger-to-typescript-client
- Owner: meabed
- License: mit
- Created: 2021-10-02T03:30:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T20:28:39.000Z (9 months ago)
- Last Synced: 2024-04-14T21:37:38.574Z (9 months ago)
- Topics: openapi3, swagger, swagger-to-typescript, swagger-typescript-api, typescript
- Language: TypeScript
- Homepage:
- Size: 1.84 MB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# swagger-to-typescript-client
[![Build Status](https://github.com/meabed/swagger-to-typescript-client/actions/workflows/ci.yml/badge.svg)](https://github.com/meabed/swagger-to-typescript-client/actions/workflows/ci.yml)
[![NPM version](https://img.shields.io/npm/v/swagger-to-typescript-client.svg)](https://www.npmjs.com/package/swagger-to-typescript-client)
[![Downloads](https://img.shields.io/npm/dm/swagger-to-typescript-client.svg)](https://www.npmjs.com/package/swagger-to-typescript-client)
[![UNPKG](https://img.shields.io/badge/UNPKG-OK-179BD7.svg)](https://unpkg.com/browse/swagger-to-typescript-client@latest/)### A CLI to Generate typescript axios client from swagger & openapi file
## Installation
NPM
```npm
npm install --save swagger-to-typescript-client
```
Yarn
```yarn
yarn add swagger-to-typescript-client
```## Usage
```
node ./node_modules/swagger-to-typescript-client/dist/index.js --pkg client-name --output ./sdk --swagger ./swagger.json
```Or use NPX
```
npx swagger-to-typescript-client --pkg client-name --output ./sdk --swagger ./swagger.json
```## Example
TBA