https://github.com/pash90/swagger-ts-interface-generator
Generate interfaces from swagger parameters & responses
https://github.com/pash90/swagger-ts-interface-generator
interfaces javascript swagger swagger-specification typescript
Last synced: 4 months ago
JSON representation
Generate interfaces from swagger parameters & responses
- Host: GitHub
- URL: https://github.com/pash90/swagger-ts-interface-generator
- Owner: pash90
- Created: 2017-08-02T06:52:53.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T08:07:03.000Z (almost 9 years ago)
- Last Synced: 2025-03-22T10:47:59.908Z (about 1 year ago)
- Topics: interfaces, javascript, swagger, swagger-specification, typescript
- Language: TypeScript
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Swagger TypeScript Interface Generator
This is a small VSCode extension to generate TS interfaces from the swagger specification. It will generate all the interfaces and put them in `Swagger.ts` file in your working directory.
## Requirements
Apart from TypeScript, the extension requires the following libraries to work:
- [Immutable](https://facebook.github.io/immutable-js) : `npm install --save immutable`
Though there are other dependencies, the extension takes care of them for you.
## Current Limitations
Currently, the generation of interfaces only goes one level deep. I'm working on full recursive implementation. Contributions are welcome!
**Enjoy!**