Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/numminorihsf/openapi-to-dto-spec


https://github.com/numminorihsf/openapi-to-dto-spec

dto-spec hacktoberfest openapi

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

#openapi-to-dto-spec

This package fetches openapi spec and generates DTO types for api.

Example:
```bash
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.