Skip to content

Commit 7daf5f4

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.29.0
1 parent 4b8169b commit 7daf5f4

File tree

21 files changed

+84
-61
lines changed

21 files changed

+84
-61
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ s = speakeasy.Speakeasy(
2020
),
2121
)
2222

23-
2423
req = operations.GetApisRequest(
2524
metadata={
2625
"provident": [

RELEASES.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -406,4 +406,12 @@ Based on:
406406
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
407407
- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy
408408
### Releases
409-
- [PyPI v1.22.0] https://pypi.org/project/speakeasy-client-sdk-python/1.22.0 - .
409+
- [PyPI v1.22.0] https://pypi.org/project/speakeasy-client-sdk-python/1.22.0 - .
410+
411+
## 2023-05-05 00:09:22
412+
### Changes
413+
Based on:
414+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
415+
- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy
416+
### Releases
417+
- [PyPI v1.23.0] https://pypi.org/project/speakeasy-client-sdk-python/1.23.0 - .

USAGE.md

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ s = speakeasy.Speakeasy(
99
),
1010
)
1111

12-
1312
req = operations.GetApisRequest(
1413
metadata={
1514
"provident": [

docs/apiendpoints/README.md

-8
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ s = speakeasy.Speakeasy(
3131
),
3232
)
3333

34-
3534
req = operations.DeleteAPIEndpointRequest(
3635
api_endpoint_id='delectus',
3736
api_id='tempora',
@@ -61,7 +60,6 @@ s = speakeasy.Speakeasy(
6160
),
6261
)
6362

64-
6563
req = operations.FindAPIEndpointRequest(
6664
api_id='molestiae',
6765
display_name='minus',
@@ -91,7 +89,6 @@ s = speakeasy.Speakeasy(
9189
),
9290
)
9391

94-
9592
req = operations.GenerateOpenAPISpecForAPIEndpointRequest(
9693
api_endpoint_id='voluptatum',
9794
api_id='iusto',
@@ -120,7 +117,6 @@ s = speakeasy.Speakeasy(
120117
),
121118
)
122119

123-
124120
req = operations.GeneratePostmanCollectionForAPIEndpointRequest(
125121
api_endpoint_id='nisi',
126122
api_id='recusandae',
@@ -149,7 +145,6 @@ s = speakeasy.Speakeasy(
149145
),
150146
)
151147

152-
153148
req = operations.GetAllAPIEndpointsRequest(
154149
api_id='ab',
155150
)
@@ -176,7 +171,6 @@ s = speakeasy.Speakeasy(
176171
),
177172
)
178173

179-
180174
req = operations.GetAllForVersionAPIEndpointsRequest(
181175
api_id='quis',
182176
version_id='veritatis',
@@ -204,7 +198,6 @@ s = speakeasy.Speakeasy(
204198
),
205199
)
206200

207-
208201
req = operations.GetAPIEndpointRequest(
209202
api_endpoint_id='deserunt',
210203
api_id='perferendis',
@@ -233,7 +226,6 @@ s = speakeasy.Speakeasy(
233226
),
234227
)
235228

236-
237229
req = operations.UpsertAPIEndpointRequest(
238230
api_endpoint_input=shared.APIEndpointInput(
239231
api_endpoint_id='repellendus',

docs/apis/README.md

-6
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ s = speakeasy.Speakeasy(
2929
),
3030
)
3131

32-
3332
req = operations.DeleteAPIRequest(
3433
api_id='quod',
3534
version_id='esse',
@@ -58,7 +57,6 @@ s = speakeasy.Speakeasy(
5857
),
5958
)
6059

61-
6260
req = operations.GenerateOpenAPISpecRequest(
6361
api_id='totam',
6462
version_id='porro',
@@ -86,7 +84,6 @@ s = speakeasy.Speakeasy(
8684
),
8785
)
8886

89-
9087
req = operations.GeneratePostmanCollectionRequest(
9188
api_id='dolorum',
9289
version_id='dicta',
@@ -115,7 +112,6 @@ s = speakeasy.Speakeasy(
115112
),
116113
)
117114

118-
119115
req = operations.GetAllAPIVersionsRequest(
120116
api_id='nam',
121117
metadata={
@@ -160,7 +156,6 @@ s = speakeasy.Speakeasy(
160156
),
161157
)
162158

163-
164159
req = operations.GetApisRequest(
165160
metadata={
166161
"esse": [
@@ -201,7 +196,6 @@ s = speakeasy.Speakeasy(
201196
),
202197
)
203198

204-
205199
req = operations.UpsertAPIRequest(
206200
api_input=shared.APIInput(
207201
api_id='dolor',

docs/embeds/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ s = speakeasy.Speakeasy(
2727
),
2828
)
2929

30-
3130
req = operations.GetEmbedAccessTokenRequest(
3231
description='laborum',
3332
duration=170909,
@@ -90,7 +89,6 @@ s = speakeasy.Speakeasy(
9089
),
9190
)
9291

93-
9492
req = operations.RevokeEmbedAccessTokenRequest(
9593
token_id='minima',
9694
)

docs/metadata/README.md

-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ s = speakeasy.Speakeasy(
2626
),
2727
)
2828

29-
3029
req = operations.DeleteVersionMetadataRequest(
3130
api_id='excepturi',
3231
meta_key='accusantium',
@@ -56,7 +55,6 @@ s = speakeasy.Speakeasy(
5655
),
5756
)
5857

59-
6058
req = operations.GetVersionMetadataRequest(
6159
api_id='doloribus',
6260
version_id='sapiente',
@@ -84,7 +82,6 @@ s = speakeasy.Speakeasy(
8482
),
8583
)
8684

87-
8885
req = operations.InsertVersionMetadataRequest(
8986
version_metadata_input=shared.VersionMetadataInput(
9087
meta_key='architecto',

docs/plugins/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ s = speakeasy.Speakeasy(
4949
),
5050
)
5151

52-
5352
req = operations.RunPluginRequest(
5453
filters=shared.Filters(
5554
filters=[
@@ -89,7 +88,6 @@ s = speakeasy.Speakeasy(
8988
),
9089
)
9190

92-
9391
req = shared.Plugin(
9492
code='velit',
9593
created_at=dateutil.parser.isoparse('2022-09-06T22:51:09.401Z'),

docs/requests/README.md

-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ s = speakeasy.Speakeasy(
2727
),
2828
)
2929

30-
3130
req = operations.GenerateRequestPostmanCollectionRequest(
3231
request_id='quo',
3332
)
@@ -54,7 +53,6 @@ s = speakeasy.Speakeasy(
5453
),
5554
)
5655

57-
5856
req = operations.GetRequestFromEventLogRequest(
5957
request_id='sequi',
6058
)
@@ -82,7 +80,6 @@ s = speakeasy.Speakeasy(
8280
),
8381
)
8482

85-
8683
req = operations.QueryEventLogRequest(
8784
filters=shared.Filters(
8885
filters=[

docs/schemas/README.md

-8
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ s = speakeasy.Speakeasy(
3131
),
3232
)
3333

34-
3534
req = operations.DeleteSchemaRequest(
3635
api_id='ipsa',
3736
revision_id='omnis',
@@ -60,7 +59,6 @@ s = speakeasy.Speakeasy(
6059
),
6160
)
6261

63-
6462
req = operations.DownloadSchemaRequest(
6563
api_id='cum',
6664
version_id='perferendis',
@@ -88,7 +86,6 @@ s = speakeasy.Speakeasy(
8886
),
8987
)
9088

91-
9289
req = operations.DownloadSchemaRevisionRequest(
9390
api_id='doloremque',
9491
revision_id='reprehenderit',
@@ -118,7 +115,6 @@ s = speakeasy.Speakeasy(
118115
),
119116
)
120117

121-
122118
req = operations.GetSchemaRequest(
123119
api_id='maiores',
124120
version_id='dicta',
@@ -146,7 +142,6 @@ s = speakeasy.Speakeasy(
146142
),
147143
)
148144

149-
150145
req = operations.GetSchemaDiffRequest(
151146
api_id='corporis',
152147
base_revision_id='dolore',
@@ -177,7 +172,6 @@ s = speakeasy.Speakeasy(
177172
),
178173
)
179174

180-
181175
req = operations.GetSchemaRevisionRequest(
182176
api_id='harum',
183177
revision_id='enim',
@@ -207,7 +201,6 @@ s = speakeasy.Speakeasy(
207201
),
208202
)
209203

210-
211204
req = operations.GetSchemasRequest(
212205
api_id='commodi',
213206
version_id='repudiandae',
@@ -236,7 +229,6 @@ s = speakeasy.Speakeasy(
236229
),
237230
)
238231

239-
240232
req = operations.RegisterSchemaRequest(
241233
request_body=operations.RegisterSchemaRequestBody(
242234
file=operations.RegisterSchemaRequestBodyFile(

gen.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.27.0
6-
generationVersion: 2.24.0
5+
speakeasyVersion: 1.29.0
6+
generationVersion: 2.26.0
77
generation:
88
telemetryEnabled: true
99
sdkClassName: speakeasy
1010
singleTagPerOp: false
1111
python:
12-
version: 1.22.0
12+
version: 1.23.0
1313
author: Speakeasy
1414
description: Speakeasy API Client SDK for Python
15+
maxMethodParams: 0
1516
packageName: speakeasy-client-sdk-python

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="speakeasy-client-sdk-python",
13-
version="1.22.0",
13+
version="1.23.0",
1414
author="Speakeasy",
1515
description="Speakeasy API Client SDK for Python",
1616
long_description=long_description,

src/speakeasy/apiendpoints.py

+8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def __init__(self, client: requests_http.Session, security_client: requests_http
2222
self._sdk_version = sdk_version
2323
self._gen_version = gen_version
2424

25+
2526
def delete_api_endpoint(self, request: operations.DeleteAPIEndpointRequest) -> operations.DeleteAPIEndpointResponse:
2627
r"""Delete an ApiEndpoint.
2728
Delete an ApiEndpoint. This will also delete all associated Request Logs (if using a Postgres datastore).
@@ -49,6 +50,7 @@ def delete_api_endpoint(self, request: operations.DeleteAPIEndpointRequest) -> o
4950

5051
return res
5152

53+
5254
def find_api_endpoint(self, request: operations.FindAPIEndpointRequest) -> operations.FindAPIEndpointResponse:
5355
r"""Find an ApiEndpoint via its displayName.
5456
Find an ApiEndpoint via its displayName (set by operationId from a registered OpenAPI schema).
@@ -79,6 +81,7 @@ def find_api_endpoint(self, request: operations.FindAPIEndpointRequest) -> opera
7981

8082
return res
8183

84+
8285
def generate_open_api_spec_for_api_endpoint(self, request: operations.GenerateOpenAPISpecForAPIEndpointRequest) -> operations.GenerateOpenAPISpecForAPIEndpointResponse:
8386
r"""Generate an OpenAPI specification for a particular ApiEndpoint.
8487
This endpoint will generate a new operation in any registered OpenAPI document if the operation does not already exist in the document.
@@ -109,6 +112,7 @@ def generate_open_api_spec_for_api_endpoint(self, request: operations.GenerateOp
109112

110113
return res
111114

115+
112116
def generate_postman_collection_for_api_endpoint(self, request: operations.GeneratePostmanCollectionForAPIEndpointRequest) -> operations.GeneratePostmanCollectionForAPIEndpointResponse:
113117
r"""Generate a Postman collection for a particular ApiEndpoint.
114118
Generates a postman collection that allows the endpoint to be called from postman variables produced for any path/query/header parameters included in the OpenAPI document.
@@ -137,6 +141,7 @@ def generate_postman_collection_for_api_endpoint(self, request: operations.Gener
137141

138142
return res
139143

144+
140145
def get_all_api_endpoints(self, request: operations.GetAllAPIEndpointsRequest) -> operations.GetAllAPIEndpointsResponse:
141146
r"""Get all Api endpoints for a particular apiID."""
142147
base_url = self._server_url
@@ -164,6 +169,7 @@ def get_all_api_endpoints(self, request: operations.GetAllAPIEndpointsRequest) -
164169

165170
return res
166171

172+
167173
def get_all_for_version_api_endpoints(self, request: operations.GetAllForVersionAPIEndpointsRequest) -> operations.GetAllForVersionAPIEndpointsResponse:
168174
r"""Get all ApiEndpoints for a particular apiID and versionID."""
169175
base_url = self._server_url
@@ -191,6 +197,7 @@ def get_all_for_version_api_endpoints(self, request: operations.GetAllForVersion
191197

192198
return res
193199

200+
194201
def get_api_endpoint(self, request: operations.GetAPIEndpointRequest) -> operations.GetAPIEndpointResponse:
195202
r"""Get an ApiEndpoint."""
196203
base_url = self._server_url
@@ -218,6 +225,7 @@ def get_api_endpoint(self, request: operations.GetAPIEndpointRequest) -> operati
218225

219226
return res
220227

228+
221229
def upsert_api_endpoint(self, request: operations.UpsertAPIEndpointRequest) -> operations.UpsertAPIEndpointResponse:
222230
r"""Upsert an ApiEndpoint.
223231
Upsert an ApiEndpoint. If the ApiEndpoint does not exist it will be created, otherwise it will be updated.

0 commit comments

Comments
 (0)