You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a K8s in the IC and need an important feature in from the CloudAPIv6. I noticed a bug in the Swagger API. We need in a DHCP: false in the Kubernetes LANs. Only this field is marked as not requierd in the swagger api. Which causes an omit in the data model when generating code. Now if I use the SDK/generated code and set DHCP=> False the JSON object will not have the DHCP as a field. But the default in the API is on "server" side that then DHCP-True is set. But this is not my intention.
KubernetesNodePoolLan struct for KubernetesNodePoolLan
type KubernetesNodePoolLan struct {
// The LAN ID of an existing LAN at the related datacenter
Id *int32 `json:"id,omitempty"`
// Indicates if the Kubernetes Node Pool LAN will reserve an IP using DHCP
Dhcp *bool `json:"dhcp,omitempty"`
// array of additional LANs attached to worker nodes
Routes *[]KubernetesNodePoolLanRoutes `json:"routes,omitempty"`
}
PUT
/k8s/{k8sClusterId}/nodepools/{nodepoolId}
Modify Kubernetes Node Pool
Expected behavior
Please check the entire PUT method /k8s/{k8sClusterId}/nodepools/{nodepoolId} as it seems other parameters are missing too.
Environment
GO version:
SDK version:
6.0.0
The text was updated successfully, but these errors were encountered:
Description
I am running a K8s in the IC and need an important feature in from the CloudAPIv6. I noticed a bug in the Swagger API. We need in a DHCP: false in the Kubernetes LANs. Only this field is marked as not requierd in the swagger api. Which causes an omit in the data model when generating code. Now if I use the SDK/generated code and set DHCP=> False the JSON object will not have the DHCP as a field. But the default in the API is on "server" side that then DHCP-True is set. But this is not my intention.
Expected behavior
Please check the entire PUT method /k8s/{k8sClusterId}/nodepools/{nodepoolId} as it seems other parameters are missing too.
Environment
GO version:
SDK version:
The text was updated successfully, but these errors were encountered: