openapi-to-dto-spec

0.2.3 • Public • Published

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 Sidebar

Install

npm i openapi-to-dto-spec

Weekly Downloads

1

Version

0.2.3

License

MIT

Unpacked Size

8.61 kB

Total Files

3

Last publish

Collaborators

  • numminorihsf