A configurable Swagger exporter that parse json data to actions and schemas in TypeScript.
I placed it in a GitHub Gist right here
Install via npm, better as dependency, run this command
npm i -D swagger-export-actionsRun swagger-export-actions with input and output options
npx swagger-export-actions --in data/api.json --out out/dataThey are stored in params property, you will have to handle it in your intercepter.
It is imported as how I would like to use it, you may have to change it.