0.2.3 • Published 5 years ago
openapi-to-dto-spec v0.2.3
#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.