swagger-typescript-api
swagger-typescript-api copied to clipboard
New fork `swagger-typescript-api-nextgen` with extra features and fixes
Please check out my fork: swagger-typescript-api-nextgen, maybe it will be useful for those who need a secure version with updated dependencies, as well as support for current axios and other fixes.
The package is present in the npm (swagger-typescript-api-nextgen).
✨ The fork key differences
- Axios v0.27.2+ support
- Updated dependencies to eliminate vulnerabilities
- Merged features and fixes from
next
tomaster
and some commits from origin pull requests:- Docs: added "generateClient", "typePrefix", "typeSuffix" options to readme for NodeJS usage (#335)
- Feature: add an option to disable throwing an error when request.ok is not true (#297)
- Feature: add a parameter to sort types and types properties (#299)
- Feature: load prettier config from your project by default (#286)
- Feature: allow passing "patch" option to "swagger2openapi" (#283)
- Fix: missing
title
of object type (#303) - Fix: reject and exit with code 1 if error (#295)
- Fix: missing extractRequestBody field in type
- Fix: problem with missing HttpResponse type with --to-js option
- Fix: unable to cancel fetch request with AbortSignal (#329)
Is there a reason these changes aren't a PR for swagger-typescript-api project?
@andersfylling PR for a long time aren't accepted, the project seems to be abandoned.
Looks like recently, activity is returning to this repo. Maybe this would be a good time to have the changes merged back into this original repo?
Hi @grandsilence , your fork looks good !
This project is not abandoned, just I didn't have time to work on it :)
If you want to improve your fork, please merge the latest version of swagger-typescript-api, cause I fixed a lot of bugs and add a lot of features :)