diff --git a/models.gen.go b/models.gen.go index f58ab56..2fb7172 100644 --- a/models.gen.go +++ b/models.gen.go @@ -854,6 +854,9 @@ type FinalizePluginUIAssetUploadRequest struct { // GetConnectorAuthStatusAWS200Response defines model for GetConnectorAuthStatusAWS_200_response. type GetConnectorAuthStatusAWS200Response struct { + // ExternalID External ID used for the role + ExternalID *string `json:"external_id,omitempty"` + // RoleARN ARN of role created by the user RoleARN *string `json:"role_arn,omitempty"` } @@ -2505,8 +2508,8 @@ type TeamSubscriptionOrderStatus string // UpdateCurrentUserRequest defines model for UpdateCurrentUser_request. type UpdateCurrentUserRequest struct { - // Name The user's name - Name *interface{} `json:"name,omitempty"` + // Name The unique name for the user. + Name *UserName `json:"name,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } diff --git a/spec.json b/spec.json index c25e278..62a8860 100644 --- a/spec.json +++ b/spec.json @@ -7719,9 +7719,10 @@ }, "UserName" : { "description" : "The unique name for the user.", - "example" : "user", + "example" : "Sarah O'Connor", "maxLength" : 255, - "pattern" : "^[a-z](-?[a-z0-9]+)+$", + "minLength" : 1, + "pattern" : "^[a-zA-Z\\p{L}][a-zA-Z\\p{L} \\-']*$", "type" : "string" }, "User" : { @@ -9869,7 +9870,7 @@ "created_at" : "2017-07-14T16:53:42Z", "email" : "user@example.com", "id" : "12345678-1234-1234-1234-1234567890ab", - "name" : "user", + "name" : "Sarah O'Connor", "updated_at" : "2017-07-14T16:53:42Z" } } ], @@ -9997,9 +9998,7 @@ "additionalProperties" : { }, "properties" : { "name" : { - "description" : "The user's name", - "maxLength" : 255, - "minLength" : 1 + "$ref" : "#/components/schemas/UserName" } } }, @@ -10236,6 +10235,11 @@ "description" : "ARN of role created by the user", "type" : "string", "x-go-name" : "RoleARN" + }, + "external_id" : { + "description" : "External ID used for the role", + "type" : "string", + "x-go-name" : "ExternalID" } } },