universal-swagger-exporter

0.5.0 • Public • Published

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-actions

Usage

Run swagger-export-actions with input and output options

npx swagger-export-actions --in data/api.json --out out/data

Notices

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.

Package Sidebar

Install

npm i universal-swagger-exporter

Weekly Downloads

0

Version

0.5.0

License

MIT

Unpacked Size

792 kB

Total Files

5

Last publish

Collaborators

  • framemuse