Open ctreatma opened 4 days ago
Copied from https://github.com/equinix-labs/metal-go/issues/154
The API spec says that the type of a drive in a plan spec must be one of the following:
type
enum: - HDD - SSD - NVME
However, the API can return the value NVMe, as mentioned in this PR comment from metal-cli: https://github.com/equinix/metal-cli/pull/350#issuecomment-1728298754
NVMe
The spec needs to be updated so that all possible values for type are documented accurately in the spec.
In addition to the enum mentioned in the issue description, there are also other enums in the plan spec that do not appear to match all possible plans returned by the Metal API
Copied from https://github.com/equinix-labs/metal-go/issues/154
The API spec says that the
type
of a drive in a plan spec must be one of the following:However, the API can return the value
NVMe
, as mentioned in this PR comment from metal-cli: https://github.com/equinix/metal-cli/pull/350#issuecomment-1728298754The spec needs to be updated so that all possible values for
type
are documented accurately in the spec.