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: fill in spec for MFA endpoints based on packngo implementation #25

Closed ctreatma closed 8 months ago

ctreatma commented 8 months ago

Conversion of metal-cli 2-factor auth subcommands from packngo to equinix-sdk-go is blocked because the Equinix Metal OpenAPI spec is missing many details for MFA setup and validation.

This works around the API issue by patching the local SDK spec to fill in the missing MFA details. These patches were written based on the packngo MFA implementation.

github-actions[bot] commented 8 months ago

This PR is included in version 0.32.0 :tada: