Skip to content
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

feat: upgrade openapi-generator to latest version #15

Merged
merged 4 commits into from
Feb 13, 2024

Conversation

ctreatma
Copy link
Contributor

@ctreatma ctreatma commented Dec 22, 2023

This upgrades openapi-generator to the latest version in order to pull in improvements to required field validation.

The latest version doesn't like the allOf structure we were using to add a custom description for interconnection metros:

allOf:
  - refs: "Metro.yaml"
description: The custom description

For now, I've added a patch to remove the custom description; as far as I can tell the existing structure is valid OpenAPI, and nesting the description under the allOf causes a new InterconnectionMetro model to be created. Removing the custom description resolves the issue without adding another thing for SDK users to keep track of.

@ctreatma ctreatma marked this pull request as ready for review February 9, 2024 20:11
@ctreatma ctreatma merged commit 725a10a into main Feb 13, 2024
4 checks passed
@ctreatma ctreatma deleted the upgrade-openapi-generator branch February 13, 2024 20:11
Copy link
Contributor

This PR is included in version 0.33.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant