0.0.4 • Published 4 years ago

openapi2dts v0.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

openapi2dts


npm version

Generates TypeScript definition file(d.ts) from OpenApi3

Install

$ npm install -g openapi2dts

Usage

  Usage: openapi2dts -i [input] -o [output] -ns [namespace]

  Options:

    -i, --input                     Input file path or Url.
    -o, --output                    Output filt path.
    -ns, --namespace                Namespace.

Example

$ openapi2dts -i swagger.json -o swagger.d.ts --ns API