openapi-to-dto-spec

Generate type from openapi spec

Downloads
39
Stars
0
Committers
1

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

Package Rankings
Top 19.88% on Npmjs.org
Related Projects