equinix-labs / metal-go

[Deprecated] Golang client for Equinix Metal
https://deploy.equinix.com/labs/equinix-sdk-go/
MIT License
3 stars 2 forks source link

fix: updated assigned_to to required in ipassignments #160

Closed codinja1188 closed 4 months ago

ctreatma commented 1 year ago

@vasubabu keep in mind that this cannot work until the SDK is able to return errors when required fields are missing ~(#132)~ (#172)

ctreatma commented 1 year ago

Also, TIL that @t0mk took the same approach in metal-python (it works there b/c the Python generator supports required properties): https://github.com/equinix-labs/metal-python/blob/main/scripts/patch_metal_spec.py#L63-L67