diff --git a/api/mnq/v1alpha1/mnq_sdk.go b/api/mnq/v1alpha1/mnq_sdk.go index 49e701a3c..98595c58b 100644 --- a/api/mnq/v1alpha1/mnq_sdk.go +++ b/api/mnq/v1alpha1/mnq_sdk.go @@ -508,8 +508,7 @@ type CreateCredentialRequest struct { // Name: name of the credentials. Name string `json:"name"` // Permissions: permissions associated with these credentials. - // Precisely one of Permissions must be set. - Permissions *Permissions `json:"permissions,omitempty"` + Permissions *Permissions `json:"permissions"` } // CreateCredential: create credentials. @@ -651,8 +650,7 @@ type UpdateCredentialRequest struct { // Name: name of the credentials. Name *string `json:"name"` // Permissions: permissions associated with these credentials. - // Precisely one of Permissions must be set. - Permissions *Permissions `json:"permissions,omitempty"` + Permissions *Permissions `json:"permissions"` } // UpdateCredential: update credentials.