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: 9 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 4 years ago)
- Default Branch: master
- Last Pushed: 2025-07-18T20:28:56.000Z (9 months ago)
- Last Synced: 2025-07-19T01:24:04.820Z (9 months ago)
- Topics: openapi3, swagger, swagger-to-typescript, swagger-typescript-api, typescript
- Language: TypeScript
- Homepage:
- Size: 2.08 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# swagger-to-typescript-client
[](https://github.com/meabed/swagger-to-typescript-client/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/swagger-to-typescript-client)
[](https://www.npmjs.com/package/swagger-to-typescript-client)
[](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