1.0.1 • Published 6 years ago

openapi-to-json-schema v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

#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.