equinix / equinix-sdk-go

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

fix: specify correct type for interconnection speed #22

Closed ctreatma closed 5 months ago

ctreatma commented 5 months ago

This is a workaround for #16; while we wait for a valid spec to be delivered, this PR introduces spec patches that appear to update the necessary fields from int32 to int64.

github-actions[bot] commented 5 months ago

This PR is included in version 0.31.1 :tada:

ctreatma commented 5 months ago

NOTE: this PR didn't update all necessary schemas; we also need to change the VrfVirtualCircuitCreateInput to specify speed as int64 instead of int32.

It's worth noting that the VlanVirtualCircuitUpdateInput and VrfVirtualCircuitUpdateInput schemas specify that speed is a string, which makes sense for the inputs since we document those fields as accepting, e.g., 10Gbps, which is not an integer.