@@ -94,12 +94,12 @@ public interface IApiEndpoints
94
94
/// </summary>
95
95
public class ApiEndpoints : IApiEndpoints
96
96
{
97
- public SDKConfig Config { get ; private set ; }
97
+ public SDKConfig SDKConfiguration { get ; private set ; }
98
98
private const string _language = "csharp" ;
99
- private const string _sdkVersion = "2.2.1 " ;
100
- private const string _sdkGenVersion = "2.194.1 " ;
99
+ private const string _sdkVersion = "2.2.2 " ;
100
+ private const string _sdkGenVersion = "2.205.0 " ;
101
101
private const string _openapiDocVersion = "0.3.0" ;
102
- private const string _userAgent = "speakeasy-sdk/csharp 2.2.1 2.194.1 0.3.0 SpeakeasySDK" ;
102
+ private const string _userAgent = "speakeasy-sdk/csharp 2.2.2 2.205.0 0.3.0 SpeakeasySDK" ;
103
103
private string _serverUrl = "" ;
104
104
private ISpeakeasyHttpClient _defaultClient ;
105
105
private ISpeakeasyHttpClient _securityClient ;
@@ -109,13 +109,13 @@ public ApiEndpoints(ISpeakeasyHttpClient defaultClient, ISpeakeasyHttpClient sec
109
109
_defaultClient = defaultClient ;
110
110
_securityClient = securityClient ;
111
111
_serverUrl = serverUrl ;
112
- Config = config ;
112
+ SDKConfiguration = config ;
113
113
}
114
114
115
115
116
116
public async Task < DeleteApiEndpointResponse > DeleteApiEndpointAsync ( DeleteApiEndpointRequest ? request = null )
117
117
{
118
- string baseUrl = this . Config . GetTemplatedServerDetails ( ) ;
118
+ string baseUrl = this . SDKConfiguration . GetTemplatedServerDetails ( ) ;
119
119
var urlString = URLBuilder . Build ( baseUrl , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/{apiEndpointID}" , request ) ;
120
120
121
121
var httpRequest = new HttpRequestMessage ( HttpMethod . Delete , urlString ) ;
@@ -147,7 +147,7 @@ public async Task<DeleteApiEndpointResponse> DeleteApiEndpointAsync(DeleteApiEnd
147
147
148
148
public async Task < FindApiEndpointResponse > FindApiEndpointAsync ( FindApiEndpointRequest ? request = null )
149
149
{
150
- string baseUrl = this . Config . GetTemplatedServerDetails ( ) ;
150
+ string baseUrl = this . SDKConfiguration . GetTemplatedServerDetails ( ) ;
151
151
var urlString = URLBuilder . Build ( baseUrl , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/find/{displayName}" , request ) ;
152
152
153
153
var httpRequest = new HttpRequestMessage ( HttpMethod . Get , urlString ) ;
@@ -183,7 +183,7 @@ public async Task<FindApiEndpointResponse> FindApiEndpointAsync(FindApiEndpointR
183
183
184
184
public async Task < GenerateOpenApiSpecForApiEndpointResponse > GenerateOpenApiSpecForApiEndpointAsync ( GenerateOpenApiSpecForApiEndpointRequest ? request = null )
185
185
{
186
- string baseUrl = this . Config . GetTemplatedServerDetails ( ) ;
186
+ string baseUrl = this . SDKConfiguration . GetTemplatedServerDetails ( ) ;
187
187
var urlString = URLBuilder . Build ( baseUrl , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/{apiEndpointID}/generate/openapi" , request ) ;
188
188
189
189
var httpRequest = new HttpRequestMessage ( HttpMethod . Get , urlString ) ;
@@ -219,7 +219,7 @@ public async Task<GenerateOpenApiSpecForApiEndpointResponse> GenerateOpenApiSpec
219
219
220
220
public async Task < GeneratePostmanCollectionForApiEndpointResponse > GeneratePostmanCollectionForApiEndpointAsync ( GeneratePostmanCollectionForApiEndpointRequest ? request = null )
221
221
{
222
- string baseUrl = this . Config . GetTemplatedServerDetails ( ) ;
222
+ string baseUrl = this . SDKConfiguration . GetTemplatedServerDetails ( ) ;
223
223
var urlString = URLBuilder . Build ( baseUrl , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/{apiEndpointID}/generate/postman" , request ) ;
224
224
225
225
var httpRequest = new HttpRequestMessage ( HttpMethod . Get , urlString ) ;
@@ -255,7 +255,7 @@ public async Task<GeneratePostmanCollectionForApiEndpointResponse> GeneratePostm
255
255
256
256
public async Task < GetAllApiEndpointsResponse > GetAllApiEndpointsAsync ( GetAllApiEndpointsRequest ? request = null )
257
257
{
258
- string baseUrl = this . Config . GetTemplatedServerDetails ( ) ;
258
+ string baseUrl = this . SDKConfiguration . GetTemplatedServerDetails ( ) ;
259
259
var urlString = URLBuilder . Build ( baseUrl , "/v1/apis/{apiID}/api_endpoints" , request ) ;
260
260
261
261
var httpRequest = new HttpRequestMessage ( HttpMethod . Get , urlString ) ;
@@ -291,7 +291,7 @@ public async Task<GetAllApiEndpointsResponse> GetAllApiEndpointsAsync(GetAllApiE
291
291
292
292
public async Task < GetAllForVersionApiEndpointsResponse > GetAllForVersionApiEndpointsAsync ( GetAllForVersionApiEndpointsRequest ? request = null )
293
293
{
294
- string baseUrl = this . Config . GetTemplatedServerDetails ( ) ;
294
+ string baseUrl = this . SDKConfiguration . GetTemplatedServerDetails ( ) ;
295
295
var urlString = URLBuilder . Build ( baseUrl , "/v1/apis/{apiID}/version/{versionID}/api_endpoints" , request ) ;
296
296
297
297
var httpRequest = new HttpRequestMessage ( HttpMethod . Get , urlString ) ;
@@ -327,7 +327,7 @@ public async Task<GetAllForVersionApiEndpointsResponse> GetAllForVersionApiEndpo
327
327
328
328
public async Task < GetApiEndpointResponse > GetApiEndpointAsync ( GetApiEndpointRequest ? request = null )
329
329
{
330
- string baseUrl = this . Config . GetTemplatedServerDetails ( ) ;
330
+ string baseUrl = this . SDKConfiguration . GetTemplatedServerDetails ( ) ;
331
331
var urlString = URLBuilder . Build ( baseUrl , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/{apiEndpointID}" , request ) ;
332
332
333
333
var httpRequest = new HttpRequestMessage ( HttpMethod . Get , urlString ) ;
@@ -363,7 +363,7 @@ public async Task<GetApiEndpointResponse> GetApiEndpointAsync(GetApiEndpointRequ
363
363
364
364
public async Task < UpsertApiEndpointResponse > UpsertApiEndpointAsync ( UpsertApiEndpointRequest request )
365
365
{
366
- string baseUrl = this . Config . GetTemplatedServerDetails ( ) ;
366
+ string baseUrl = this . SDKConfiguration . GetTemplatedServerDetails ( ) ;
367
367
var urlString = URLBuilder . Build ( baseUrl , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/{apiEndpointID}" , request ) ;
368
368
369
369
var httpRequest = new HttpRequestMessage ( HttpMethod . Put , urlString ) ;
0 commit comments