Skip to content

Conversation

@bitgopatmcl
Copy link
Contributor

It appears that a lot of tooling does not support OpenAPI v3.1, so this changes openapi-generator to output OpenAPI v3 for broader compatibility. The largest change is with explicit null-typed properties, since OpenAPI does not have a null primitive type. As a workaround, I have it emit a nullable type with an empty enum, which should mean the only possible value for that type is null, but I'm guessing a lot of tooling conflates "nullable" with "optional" and we might need to handle this in the future.

@bitgopatmcl
Copy link
Contributor Author

Rebased to fix semantic merge conflict with #537

@andrew-scott-fischer andrew-scott-fischer merged commit fe2967e into BitGo:master Sep 5, 2023
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

🎉 This PR is included in version @api-ts/openapi-generator@2.5.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 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 📦🚀

@github-actions
Copy link

🎉 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 📦🚀

@github-actions
Copy link

🎉 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 📦🚀

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

🎉 This PR is included in version @api-ts/io-ts-http@2.4.1-beta.1 🎉

The release is available on @api-ts/io-ts-http

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants