0.5.0 • Published 3 years ago
universal-swagger-exporter v0.5.0
Universal Swagger Exporter
A configurable Swagger exporter that parse json data to actions and schemas in TypeScript.
Auto schema type mapping
I placed it in a GitHub Gist right here
Setup
Install via npm, better as dependency, run this command
npm i -D swagger-export-actionsUsage
Run swagger-export-actions with input and output options
npx swagger-export-actions --in data/api.json --out out/dataNotices
Query Params
They are stored in params property, you will have to handle it in your intercepter.
Action Import
It is imported as how I would like to use it, you may have to change it.