Skip to content

Commit 5142652

Browse files
chore(api): update composite API spec
1 parent 7f1df0a commit 5142652

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1894
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4dfa826e7a47e343bab3db833a468c775d60c9e5ae8b492fc8c1905d35f20691.yml
3-
openapi_spec_hash: aa342ab3145b47a6b45b6fff850ced4b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-dfc53e97482beb4743c8fb4429a882cf4da91322cbcba120f91dd915787866fb.yml
3+
openapi_spec_hash: 53fb340f3f3ccd3f1d1df3dab9ede9c5
44
config_hash: feb968146b5a84697390fed70d260f68

zero_trust/accessaicontrolmcpportal.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ type AccessAIControlMcpPortalReadResponseServer struct {
336336
AuthType AccessAIControlMcpPortalReadResponseServersAuthType `json:"auth_type,required"`
337337
Hostname string `json:"hostname,required" format:"uri"`
338338
Name string `json:"name,required"`
339-
Prompts []interface{} `json:"prompts,required"`
340-
Tools []interface{} `json:"tools,required"`
339+
Prompts []map[string]interface{} `json:"prompts,required"`
340+
Tools []map[string]interface{} `json:"tools,required"`
341341
UpdatedPrompts []map[string]AccessAIControlMcpPortalReadResponseServersUpdatedPromptsUnion `json:"updated_prompts,required"`
342342
UpdatedTools []map[string]AccessAIControlMcpPortalReadResponseServersUpdatedToolsUnion `json:"updated_tools,required"`
343343
CreatedAt time.Time `json:"created_at" format:"date-time"`

zero_trust/accessaicontrolmcpserver.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ type AccessAIControlMcpServerNewResponse struct {
172172
AuthType AccessAIControlMcpServerNewResponseAuthType `json:"auth_type,required"`
173173
Hostname string `json:"hostname,required" format:"uri"`
174174
Name string `json:"name,required"`
175-
Prompts []interface{} `json:"prompts,required"`
176-
Tools []interface{} `json:"tools,required"`
175+
Prompts []map[string]interface{} `json:"prompts,required"`
176+
Tools []map[string]interface{} `json:"tools,required"`
177177
CreatedAt time.Time `json:"created_at" format:"date-time"`
178178
CreatedBy string `json:"created_by"`
179179
Description string `json:"description,nullable"`
@@ -236,8 +236,8 @@ type AccessAIControlMcpServerUpdateResponse struct {
236236
AuthType AccessAIControlMcpServerUpdateResponseAuthType `json:"auth_type,required"`
237237
Hostname string `json:"hostname,required" format:"uri"`
238238
Name string `json:"name,required"`
239-
Prompts []interface{} `json:"prompts,required"`
240-
Tools []interface{} `json:"tools,required"`
239+
Prompts []map[string]interface{} `json:"prompts,required"`
240+
Tools []map[string]interface{} `json:"tools,required"`
241241
CreatedAt time.Time `json:"created_at" format:"date-time"`
242242
CreatedBy string `json:"created_by"`
243243
Description string `json:"description,nullable"`
@@ -300,8 +300,8 @@ type AccessAIControlMcpServerListResponse struct {
300300
AuthType AccessAIControlMcpServerListResponseAuthType `json:"auth_type,required"`
301301
Hostname string `json:"hostname,required" format:"uri"`
302302
Name string `json:"name,required"`
303-
Prompts []interface{} `json:"prompts,required"`
304-
Tools []interface{} `json:"tools,required"`
303+
Prompts []map[string]interface{} `json:"prompts,required"`
304+
Tools []map[string]interface{} `json:"tools,required"`
305305
CreatedAt time.Time `json:"created_at" format:"date-time"`
306306
CreatedBy string `json:"created_by"`
307307
Description string `json:"description,nullable"`
@@ -364,8 +364,8 @@ type AccessAIControlMcpServerDeleteResponse struct {
364364
AuthType AccessAIControlMcpServerDeleteResponseAuthType `json:"auth_type,required"`
365365
Hostname string `json:"hostname,required" format:"uri"`
366366
Name string `json:"name,required"`
367-
Prompts []interface{} `json:"prompts,required"`
368-
Tools []interface{} `json:"tools,required"`
367+
Prompts []map[string]interface{} `json:"prompts,required"`
368+
Tools []map[string]interface{} `json:"tools,required"`
369369
CreatedAt time.Time `json:"created_at" format:"date-time"`
370370
CreatedBy string `json:"created_by"`
371371
Description string `json:"description,nullable"`
@@ -428,8 +428,8 @@ type AccessAIControlMcpServerReadResponse struct {
428428
AuthType AccessAIControlMcpServerReadResponseAuthType `json:"auth_type,required"`
429429
Hostname string `json:"hostname,required" format:"uri"`
430430
Name string `json:"name,required"`
431-
Prompts []interface{} `json:"prompts,required"`
432-
Tools []interface{} `json:"tools,required"`
431+
Prompts []map[string]interface{} `json:"prompts,required"`
432+
Tools []map[string]interface{} `json:"tools,required"`
433433
CreatedAt time.Time `json:"created_at" format:"date-time"`
434434
CreatedBy string `json:"created_by"`
435435
Description string `json:"description,nullable"`

0 commit comments

Comments
 (0)