-
Notifications
You must be signed in to change notification settings - Fork 22
Implement openapi-generator v2 #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement openapi-generator v2 #508
Conversation
|
New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: io-ts-types@0.5.15, parser-ts@0.7.0, ts-morph@14.0.0 |
60ead7f to
5fcbdfc
Compare
| "@types/resolve": "^1.20.2", | ||
| "c8": "8.0.1", | ||
| "parser-ts": "0.7.0", | ||
| "tsx": "3.12.7" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: Should we eventually replace tsx with swc in the other packages too? Since npm hoists dependencies with workspaces, it would result in fewer dependencies downloaded and faster npm install runtimes
09fc1b7 to
8895871
Compare
3c6fe48 to
9951a4e
Compare
| const pkgJson = fs.readFileSync(pkgFile, 'utf-8'); | ||
| return JSON.parse(pkgJson)['version'] ?? '0.0.1'; | ||
| } catch (err) { | ||
| return '0.0.1'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: should this raise an error for the user to resolve by editing their package manifest?
792f207 to
b012043
Compare
BREAKING CHANGE: The OpenAPI generator has been almost entirely rewritten and now uses `swc` instead of `ts-morph`.
5554c1a to
8211730
Compare
8211730 to
340c14b
Compare
andrew-scott-fischer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
🎉 This PR is included in version @api-ts/openapi-generator@2.0.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
tsmorph was removed in BitGo#508, so we can remove the associated dependabot configuration.
|
🎉 This PR is included in version @api-ts/typed-express-router@1.1.1 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version @api-ts/express-wrapper@1.0.21 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version @api-ts/superagent-wrapper@1.1.12 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version @api-ts/io-ts-http@2.4.1-beta.1 🎉 The release is available on Your semantic-release bot 📦🚀 |
BREAKING CHANGE: The OpenAPI generator has been almost entirely rewritten and now uses
swcinstead ofts-morph. Performance is much better, and there should be fewer bugs. The CLI has been streamlined to just accept atsfile as a parameter, and outputs the spec to stdout. More jsdoc comments are supported as well (see here)