openapi-to-json-schema
v1.0.1
Published
Generate json schema from openapi spec
Downloads
28
Maintainers
Readme
#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.