openapi-to-dto-spec
v0.2.3
Published
Generate type from openapi spec
Maintainers
Readme
#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-specThis generates dto-spec directory with flow types.
