Skip to content

Commit 3e927b6

Browse files
stainless-app[bot]stainless-bot
authored andcommittedNov 27, 2024·
feat(api): api update (#3682)
1 parent 08a3776 commit 3e927b6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1436
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-83d644e928810036deb1b08729305b0adf41c6e1bfbb58e6427c999fdaa85eca.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-8c1088ba96368f5f19f6d33654ae76942cfd4f0e3b7f418add2c67b01a6085dc.yml

‎ai_gateway/aigateway.go

+2
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,8 @@ type AIGatewayListParams struct {
555555
OrderByDirection param.Field[AIGatewayListParamsOrderByDirection] `query:"order_by_direction"`
556556
Page param.Field[int64] `query:"page"`
557557
PerPage param.Field[int64] `query:"per_page"`
558+
// Search by id
559+
Search param.Field[string] `query:"search"`
558560
}
559561

560562
// URLQuery serializes [AIGatewayListParams]'s query parameters as `url.Values`.

‎ai_gateway/aigateway_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func TestAIGatewayListWithOptionalParams(t *testing.T) {
104104
OrderByDirection: cloudflare.F(ai_gateway.AIGatewayListParamsOrderByDirectionAsc),
105105
Page: cloudflare.F(int64(1)),
106106
PerPage: cloudflare.F(int64(1)),
107+
Search: cloudflare.F("search"),
107108
})
108109
if err != nil {
109110
var apierr *cloudflare.Error

0 commit comments

Comments
 (0)
Please sign in to comment.