Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa12de0

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#1055)
1 parent7b85d22 commitaa12de0

File tree

10 files changed

+242
-385
lines changed

10 files changed

+242
-385
lines changed

‎api.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,17 +3043,18 @@ Methods:
30433043

30443044
## Settings
30453045

3046-
### SchemaValidation
3047-
30483046
Types:
30493047

30503048
```python
3051-
from cloudflare.types.api_gateway.settings import Settings
3049+
from cloudflare.types.api_gateway import Settings
30523050
```
30533051

3052+
### SchemaValidation
3053+
30543054
Methods:
30553055

30563056
- <code title="put /zones/{zone_id}/api_gateway/settings/schema_validation">client.api_gateway.settings.schema_validation.<a href="./src/cloudflare/resources/api_gateway/settings/schema_validation.py">update</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/api_gateway/settings/schema_validation_update_params.py">params</a>) -> <a href="./src/cloudflare/types/api_gateway/settings/settings.py">Settings</a></code>
3057+
- <code title="patch /zones/{zone_id}/api_gateway/settings/schema_validation">client.api_gateway.settings.schema_validation.<a href="./src/cloudflare/resources/api_gateway/settings/schema_validation.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/api_gateway/settings/schema_validation_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/api_gateway/settings/settings.py">Settings</a></code>
30573058
- <code title="get /zones/{zone_id}/api_gateway/settings/schema_validation">client.api_gateway.settings.schema_validation.<a href="./src/cloudflare/resources/api_gateway/settings/schema_validation.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/api_gateway/settings/settings.py">Settings</a></code>
30583059

30593060
## UserSchemas
@@ -3089,12 +3090,6 @@ Methods:
30893090

30903091
- <code title="get /zones/{zone_id}/api_gateway/user_schemas/{schema_id}/operations">client.api_gateway.user_schemas.operations.<a href="./src/cloudflare/resources/api_gateway/user_schemas/operations.py">list</a>(schema_id, \*, zone_id, \*\*<a href="src/cloudflare/types/api_gateway/user_schemas/operation_list_params.py">params</a>) -> <a href="./src/cloudflare/types/api_gateway/user_schemas/operation_list_response.py">SyncSinglePage[OperationListResponse]</a></code>
30913092

3092-
## SchemaValidation
3093-
3094-
Methods:
3095-
3096-
- <code title="patch /zones/{zone_id}/api_gateway/settings/schema_validation">client.api_gateway.schema_validation.<a href="./src/cloudflare/resources/api_gateway/schema_validation.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/api_gateway/schema_validation_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/api_gateway/settings/settings.py">Settings</a></code>
3097-
30983093
# ManagedHeaders
30993094

31003095
Types:

‎src/cloudflare/resources/api_gateway/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@
5656
ConfigurationsResourceWithStreamingResponse,
5757
AsyncConfigurationsResourceWithStreamingResponse,
5858
)
59-
from .schema_validationimport (
60-
SchemaValidationResource,
61-
AsyncSchemaValidationResource,
62-
SchemaValidationResourceWithRawResponse,
63-
AsyncSchemaValidationResourceWithRawResponse,
64-
SchemaValidationResourceWithStreamingResponse,
65-
AsyncSchemaValidationResourceWithStreamingResponse,
66-
)
6759

6860
__all__= [
6961
"ConfigurationsResource",
@@ -102,12 +94,6 @@
10294
"AsyncUserSchemasResourceWithRawResponse",
10395
"UserSchemasResourceWithStreamingResponse",
10496
"AsyncUserSchemasResourceWithStreamingResponse",
105-
"SchemaValidationResource",
106-
"AsyncSchemaValidationResource",
107-
"SchemaValidationResourceWithRawResponse",
108-
"AsyncSchemaValidationResourceWithRawResponse",
109-
"SchemaValidationResourceWithStreamingResponse",
110-
"AsyncSchemaValidationResourceWithStreamingResponse",
11197
"APIGatewayResource",
11298
"AsyncAPIGatewayResource",
11399
"APIGatewayResourceWithRawResponse",

‎src/cloudflare/resources/api_gateway/api_gateway.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,6 @@
5252
ConfigurationsResourceWithStreamingResponse,
5353
AsyncConfigurationsResourceWithStreamingResponse,
5454
)
55-
from .schema_validationimport (
56-
SchemaValidationResource,
57-
AsyncSchemaValidationResource,
58-
SchemaValidationResourceWithRawResponse,
59-
AsyncSchemaValidationResourceWithRawResponse,
60-
SchemaValidationResourceWithStreamingResponse,
61-
AsyncSchemaValidationResourceWithStreamingResponse,
62-
)
6355
from .settings.settingsimportSettingsResource,AsyncSettingsResource
6456
from .discovery.discoveryimportDiscoveryResource,AsyncDiscoveryResource
6557
from .operations.operationsimportOperationsResource,AsyncOperationsResource
@@ -93,10 +85,6 @@ def settings(self) -> SettingsResource:
9385
defuser_schemas(self)->UserSchemasResource:
9486
returnUserSchemasResource(self._client)
9587

96-
@cached_property
97-
defschema_validation(self)->SchemaValidationResource:
98-
returnSchemaValidationResource(self._client)
99-
10088
@cached_property
10189
defwith_raw_response(self)->APIGatewayResourceWithRawResponse:
10290
returnAPIGatewayResourceWithRawResponse(self)
@@ -131,10 +119,6 @@ def settings(self) -> AsyncSettingsResource:
131119
defuser_schemas(self)->AsyncUserSchemasResource:
132120
returnAsyncUserSchemasResource(self._client)
133121

134-
@cached_property
135-
defschema_validation(self)->AsyncSchemaValidationResource:
136-
returnAsyncSchemaValidationResource(self._client)
137-
138122
@cached_property
139123
defwith_raw_response(self)->AsyncAPIGatewayResourceWithRawResponse:
140124
returnAsyncAPIGatewayResourceWithRawResponse(self)
@@ -172,10 +156,6 @@ def settings(self) -> SettingsResourceWithRawResponse:
172156
defuser_schemas(self)->UserSchemasResourceWithRawResponse:
173157
returnUserSchemasResourceWithRawResponse(self._api_gateway.user_schemas)
174158

175-
@cached_property
176-
defschema_validation(self)->SchemaValidationResourceWithRawResponse:
177-
returnSchemaValidationResourceWithRawResponse(self._api_gateway.schema_validation)
178-
179159

180160
classAsyncAPIGatewayResourceWithRawResponse:
181161
def__init__(self,api_gateway:AsyncAPIGatewayResource)->None:
@@ -205,10 +185,6 @@ def settings(self) -> AsyncSettingsResourceWithRawResponse:
205185
defuser_schemas(self)->AsyncUserSchemasResourceWithRawResponse:
206186
returnAsyncUserSchemasResourceWithRawResponse(self._api_gateway.user_schemas)
207187

208-
@cached_property
209-
defschema_validation(self)->AsyncSchemaValidationResourceWithRawResponse:
210-
returnAsyncSchemaValidationResourceWithRawResponse(self._api_gateway.schema_validation)
211-
212188

213189
classAPIGatewayResourceWithStreamingResponse:
214190
def__init__(self,api_gateway:APIGatewayResource)->None:
@@ -238,10 +214,6 @@ def settings(self) -> SettingsResourceWithStreamingResponse:
238214
defuser_schemas(self)->UserSchemasResourceWithStreamingResponse:
239215
returnUserSchemasResourceWithStreamingResponse(self._api_gateway.user_schemas)
240216

241-
@cached_property
242-
defschema_validation(self)->SchemaValidationResourceWithStreamingResponse:
243-
returnSchemaValidationResourceWithStreamingResponse(self._api_gateway.schema_validation)
244-
245217

246218
classAsyncAPIGatewayResourceWithStreamingResponse:
247219
def__init__(self,api_gateway:AsyncAPIGatewayResource)->None:
@@ -270,7 +242,3 @@ def settings(self) -> AsyncSettingsResourceWithStreamingResponse:
270242
@cached_property
271243
defuser_schemas(self)->AsyncUserSchemasResourceWithStreamingResponse:
272244
returnAsyncUserSchemasResourceWithStreamingResponse(self._api_gateway.user_schemas)
273-
274-
@cached_property
275-
defschema_validation(self)->AsyncSchemaValidationResourceWithStreamingResponse:
276-
returnAsyncSchemaValidationResourceWithStreamingResponse(self._api_gateway.schema_validation)

‎src/cloudflare/resources/api_gateway/schema_validation.py

Lines changed: 0 additions & 211 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp