-
Notifications
You must be signed in to change notification settings - Fork 5
[bug: API] Metal Gateway associated with a Vlan does not show up when fetching VirtualNetwork by ID #32
Comments
The spec field Using the {...
"metal_gateways": [
{
"created_at": "2022-02-02T02:02:02Z"
"gateway_address": "192.0.2.1/29"
"href": "/metal-gateways/uuid-uuid-4b98-uuid-uuid"
"id": "uuid-uuid-4b98-uuid-uuid"
"state": "active"
"updated_at": "2022-02-02T02:02:02Z"
"vlan": 123
}
]
} |
#35 has been merged but I'd like to keep this open issue until we discuss: |
In response to :
|
The API Spec (and the actual API response) offer a different view of some objects based on the context. A “Lite” response (typically those offered as a shallow value with an I would like to say that In short, they should be treated as related, but not necessarily the same nor extending. |
Sample instance returned by VlansApi.getVirtualNetwork(vlanId)
metalGateway is null and metal_gateways under additionalProperties is empty. Also, what is the spec of value keyed by metal_gateways inside additionalProperties?
The text was updated successfully, but these errors were encountered: