-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: fill in spec for MFA endpoints based on packngo implementation (#…
…25) Conversion of [`metal-cli` 2-factor auth subcommands](equinix/metal-cli#353) 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](https://github.com/packethost/packngo/blob/f8b3f36ba929a29d4f1d29480e0f47c7f85790e4/two_factor_auth.go).
- Loading branch information
Showing
15 changed files
with
693 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.