|
4062 | 4062 | } |
4063 | 4063 | } |
4064 | 4064 | }, |
4065 | | - "description" : "Tenant found" |
4066 | | - }, |
4067 | | - "204" : { |
4068 | | - "description" : "No tenant found, or multiple tenants" |
| 4065 | + "description" : "List of tenants" |
4069 | 4066 | }, |
4070 | 4067 | "400" : { |
4071 | 4068 | "$ref" : "#/components/responses/BadRequest" |
|
9147 | 9144 | "required" : [ "token" ] |
9148 | 9145 | } ] |
9149 | 9146 | }, |
| 9147 | + "TenantUser" : { |
| 9148 | + "additionalProperties" : false, |
| 9149 | + "description" : "Tenant information of a platform user", |
| 9150 | + "properties" : { |
| 9151 | + "tenant_url" : { |
| 9152 | + "description" : "URL of the tenant", |
| 9153 | + "format" : "url", |
| 9154 | + "type" : "string", |
| 9155 | + "x-go-name" : "TenantURL" |
| 9156 | + }, |
| 9157 | + "provider" : { |
| 9158 | + "description" : "Login provider of the tenant", |
| 9159 | + "type" : "string" |
| 9160 | + } |
| 9161 | + }, |
| 9162 | + "required" : [ "tenant_url" ] |
| 9163 | + }, |
9150 | 9164 | "UserID" : { |
9151 | 9165 | "description" : "ID of the User", |
9152 | 9166 | "example" : "12345678-1234-1234-1234-1234567890ab", |
@@ -11233,14 +11247,15 @@ |
11233 | 11247 | }, |
11234 | 11248 | "DeterminePlatformTenantByEmail_200_response" : { |
11235 | 11249 | "properties" : { |
11236 | | - "tenant_url" : { |
11237 | | - "description" : "URL of the tenant", |
11238 | | - "format" : "url", |
11239 | | - "type" : "string", |
11240 | | - "x-go-name" : "TenantURL" |
| 11250 | + "items" : { |
| 11251 | + "description" : "List of tenants", |
| 11252 | + "items" : { |
| 11253 | + "$ref" : "#/components/schemas/TenantUser" |
| 11254 | + }, |
| 11255 | + "type" : "array", |
| 11256 | + "x-go-type-skip-optional-pointer" : true |
11241 | 11257 | } |
11242 | | - }, |
11243 | | - "required" : [ "tenant_url" ] |
| 11258 | + } |
11244 | 11259 | }, |
11245 | 11260 | "ListTeamAPIKeys_200_response" : { |
11246 | 11261 | "properties" : { |
|
0 commit comments