Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#2710)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jul 1, 2024
1 parent 7438877 commit 17ffef1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1254
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-10e0f5bf9e74bc8593c8024dd72b3c91d0402b96678320361ec2166da30136ff.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-623885448544cf05b4f37663c71fa42a56151359a9b770b24d86195f10da96d8.yml
10 changes: 5 additions & 5 deletions ai_gateway/aigateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestAIGatewayNew(t *testing.T) {
option.WithAPIEmail("[email protected]"),
)
_, err := client.AIGateway.New(context.TODO(), ai_gateway.AIGatewayNewParams{
AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"),
AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"),
ID: cloudflare.F("my-gateway"),
CacheInvalidateOnUpdate: cloudflare.F(true),
CacheTTL: cloudflare.F(int64(0)),
Expand Down Expand Up @@ -63,7 +63,7 @@ func TestAIGatewayUpdate(t *testing.T) {
context.TODO(),
"my-gateway",
ai_gateway.AIGatewayUpdateParams{
AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"),
AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"),
CacheInvalidateOnUpdate: cloudflare.F(true),
CacheTTL: cloudflare.F(int64(0)),
CollectLogs: cloudflare.F(true),
Expand Down Expand Up @@ -95,7 +95,7 @@ func TestAIGatewayListWithOptionalParams(t *testing.T) {
option.WithAPIEmail("[email protected]"),
)
_, err := client.AIGateway.List(context.TODO(), ai_gateway.AIGatewayListParams{
AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"),
AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"),
ID: cloudflare.F("my-gateway"),
OrderBy: cloudflare.F("string"),
Page: cloudflare.F(int64(1)),
Expand Down Expand Up @@ -127,7 +127,7 @@ func TestAIGatewayDelete(t *testing.T) {
context.TODO(),
"string",
ai_gateway.AIGatewayDeleteParams{
AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"),
AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"),
},
)
if err != nil {
Expand Down Expand Up @@ -156,7 +156,7 @@ func TestAIGatewayGet(t *testing.T) {
context.TODO(),
"my-gateway",
ai_gateway.AIGatewayGetParams{
AccountID: cloudflare.F("0d37909e38d3e99c29fa2cd343ac421a"),
AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"),
},
)
if err != nil {
Expand Down

0 comments on commit 17ffef1

Please sign in to comment.