openapi-to-json-schema

1.0.1 • Public • Published

openapi-to-json-schema

This package fetches openapi spec and generates json schemas for API's DTOs.

Example:

API_SPEC_URL=http://host/swaggerfile-for-api.yaml npx openapi-to-json-schema

This generates dto-spec directory with schemas.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    20
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    20
  • 1.0.0
    0

Package Sidebar

Install

npm i openapi-to-json-schema

Weekly Downloads

20

Version

1.0.1

License

MIT

Unpacked Size

3.43 kB

Total Files

3

Last publish

Collaborators

  • numminorihsf