@@ -22,6 +22,7 @@ def __init__(self, client: requests_http.Session, security_client: requests_http
22
22
self ._sdk_version = sdk_version
23
23
self ._gen_version = gen_version
24
24
25
+
25
26
def delete_api_endpoint (self , request : operations .DeleteAPIEndpointRequest ) -> operations .DeleteAPIEndpointResponse :
26
27
r"""Delete an ApiEndpoint.
27
28
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
49
50
50
51
return res
51
52
53
+
52
54
def find_api_endpoint (self , request : operations .FindAPIEndpointRequest ) -> operations .FindAPIEndpointResponse :
53
55
r"""Find an ApiEndpoint via its displayName.
54
56
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
79
81
80
82
return res
81
83
84
+
82
85
def generate_open_api_spec_for_api_endpoint (self , request : operations .GenerateOpenAPISpecForAPIEndpointRequest ) -> operations .GenerateOpenAPISpecForAPIEndpointResponse :
83
86
r"""Generate an OpenAPI specification for a particular ApiEndpoint.
84
87
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
109
112
110
113
return res
111
114
115
+
112
116
def generate_postman_collection_for_api_endpoint (self , request : operations .GeneratePostmanCollectionForAPIEndpointRequest ) -> operations .GeneratePostmanCollectionForAPIEndpointResponse :
113
117
r"""Generate a Postman collection for a particular ApiEndpoint.
114
118
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
137
141
138
142
return res
139
143
144
+
140
145
def get_all_api_endpoints (self , request : operations .GetAllAPIEndpointsRequest ) -> operations .GetAllAPIEndpointsResponse :
141
146
r"""Get all Api endpoints for a particular apiID."""
142
147
base_url = self ._server_url
@@ -164,6 +169,7 @@ def get_all_api_endpoints(self, request: operations.GetAllAPIEndpointsRequest) -
164
169
165
170
return res
166
171
172
+
167
173
def get_all_for_version_api_endpoints (self , request : operations .GetAllForVersionAPIEndpointsRequest ) -> operations .GetAllForVersionAPIEndpointsResponse :
168
174
r"""Get all ApiEndpoints for a particular apiID and versionID."""
169
175
base_url = self ._server_url
@@ -191,6 +197,7 @@ def get_all_for_version_api_endpoints(self, request: operations.GetAllForVersion
191
197
192
198
return res
193
199
200
+
194
201
def get_api_endpoint (self , request : operations .GetAPIEndpointRequest ) -> operations .GetAPIEndpointResponse :
195
202
r"""Get an ApiEndpoint."""
196
203
base_url = self ._server_url
@@ -218,6 +225,7 @@ def get_api_endpoint(self, request: operations.GetAPIEndpointRequest) -> operati
218
225
219
226
return res
220
227
228
+
221
229
def upsert_api_endpoint (self , request : operations .UpsertAPIEndpointRequest ) -> operations .UpsertAPIEndpointResponse :
222
230
r"""Upsert an ApiEndpoint.
223
231
Upsert an ApiEndpoint. If the ApiEndpoint does not exist it will be created, otherwise it will be updated.
0 commit comments