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.

Package Sidebar

Install

npm i openapi-to-json-schema

Weekly Downloads

12

Version

1.0.1

License

MIT

Unpacked Size

3.43 kB

Total Files

3

Last publish

Collaborators

  • numminorihsf