Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/numminorihsf/openapi-to-dto-spec
- Owner: NumminorihSF
- Created: 2018-06-08T06:38:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T09:40:24.000Z (4 months ago)
- Last Synced: 2024-10-14T05:03:44.089Z (3 months ago)
- Topics: dto-spec, hacktoberfest, openapi
- Language: JavaScript
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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.