Skip to content

feat(api): OpenAPI spec update via Stainless API #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1296
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-eac0a33bed194093caab0eee016a8225cbd4af5bf185da2242f444e73f279cc4.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-241f970730129e553d466806420a1cf2f6d665abec11667004cb9cf070932a1e.yml
20 changes: 10 additions & 10 deletions src/cloudflare/resources/ai_gateway/ai_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def create(
Create a new Gateway

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down Expand Up @@ -136,7 +136,7 @@ def update(
Update a Gateway

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down Expand Up @@ -192,7 +192,7 @@ def list(
List Gateway's

Args:
id: gateway id
id: gateway slug

order_by: Order By Column Name

Expand Down Expand Up @@ -243,7 +243,7 @@ def delete(
Delete a Gateway

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down Expand Up @@ -285,7 +285,7 @@ def get(
Fetch a Gateway

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down Expand Up @@ -347,7 +347,7 @@ async def create(
Create a new Gateway

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down Expand Up @@ -405,7 +405,7 @@ async def update(
Update a Gateway

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down Expand Up @@ -461,7 +461,7 @@ def list(
List Gateway's

Args:
id: gateway id
id: gateway slug

order_by: Order By Column Name

Expand Down Expand Up @@ -512,7 +512,7 @@ async def delete(
Delete a Gateway

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down Expand Up @@ -554,7 +554,7 @@ async def get(
Fetch a Gateway

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down
4 changes: 2 additions & 2 deletions src/cloudflare/resources/ai_gateway/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def get(
List Gateway Logs

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down Expand Up @@ -140,7 +140,7 @@ async def get(
List Gateway Logs

Args:
id: gateway id
id: gateway slug

extra_headers: Send extra headers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class AIGatewayCreateParams(TypedDict, total=False):
account_id: Required[str]

id: Required[str]
"""gateway id"""
"""gateway slug"""

cache_invalidate_on_update: Required[bool]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class Task(BaseModel):
id: str
"""gateway id"""
"""gateway slug"""

cache_invalidate_on_update: bool

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class AIGatewayDeleteResponse(BaseModel):
id: str
"""gateway id"""
"""gateway slug"""

cache_invalidate_on_update: bool

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class AIGatewayGetResponse(BaseModel):
id: str
"""gateway id"""
"""gateway slug"""

cache_invalidate_on_update: bool

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class AIGatewayListParams(TypedDict, total=False):
account_id: Required[str]

id: str
"""gateway id"""
"""gateway slug"""

order_by: str
"""Order By Column Name"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class AIGatewayListResponse(BaseModel):
id: str
"""gateway id"""
"""gateway slug"""

cache_invalidate_on_update: bool

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class AIGatewayUpdateResponse(BaseModel):
id: str
"""gateway id"""
"""gateway slug"""

cache_invalidate_on_update: bool

Expand Down