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.

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i openapi-to-dto-spec

    Weekly Downloads

    17

    Version

    0.2.3

    License

    MIT

    Unpacked Size

    8.61 kB

    Total Files

    3

    Last publish

    Collaborators

    • numminorihsf