equinix / equinix-sdk-go

Golang client for Equinix APIs
https://deploy.equinix.com/labs/equinix-sdk-go
MIT License
2 stars 6 forks source link

feat: upgrade openapi-generator to latest version #15

Closed ctreatma closed 7 months ago

ctreatma commented 9 months ago

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.

github-actions[bot] commented 7 months ago

This PR is included in version 0.33.0 :tada: