openapi-to-dto-spec

0.2.3 • Public • Published

openapi-to-dto-spec

This package fetches openapi spec and generates DTO types for api.

Example:

API_SPEC_URL=http://host/swaggerfile-for-api.yaml npx openapi-to-dto-spec
READ_MODE=1 API_SPEC_URL=http://host/swaggerfile-for-api.yaml npx openapi-to-dto-spec

This generates dto-spec directory with flow types.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.3
    3
    • latest

Version History

Package Sidebar

Install

npm i openapi-to-dto-spec

Weekly Downloads

4

Version

0.2.3

License

MIT

Unpacked Size

8.61 kB

Total Files

3

Last publish

Collaborators

  • numminorihsf