@@ -96,8 +96,8 @@ public class ApiEndpointsSDK: IApiEndpointsSDK
96
96
{
97
97
public SDKConfig Config { get ; private set ; }
98
98
private const string _language = "csharp" ;
99
- private const string _sdkVersion = "1.14.0 " ;
100
- private const string _sdkGenVersion = "2.129 .1" ;
99
+ private const string _sdkVersion = "1.14.1 " ;
100
+ private const string _sdkGenVersion = "2.131 .1" ;
101
101
private const string _openapiDocVersion = "0.3.0" ;
102
102
private string _serverUrl = "" ;
103
103
private ISpeakeasyHttpClient _defaultClient ;
@@ -176,7 +176,7 @@ public async Task<FindApiEndpointResponse> FindApiEndpointAsync(FindApiEndpointR
176
176
} ;
177
177
if ( ( response . StatusCode == 200 ) )
178
178
{
179
- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
179
+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
180
180
{
181
181
response . ApiEndpoint = JsonConvert . DeserializeObject < ApiEndpoint > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
182
182
}
@@ -216,7 +216,7 @@ public async Task<GenerateOpenApiSpecForApiEndpointResponse> GenerateOpenApiSpec
216
216
} ;
217
217
if ( ( response . StatusCode == 200 ) )
218
218
{
219
- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
219
+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
220
220
{
221
221
response . GenerateOpenApiSpecDiff = JsonConvert . DeserializeObject < GenerateOpenApiSpecDiff > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
222
222
}
@@ -256,7 +256,7 @@ public async Task<GeneratePostmanCollectionForApiEndpointResponse> GeneratePostm
256
256
} ;
257
257
if ( ( response . StatusCode == 200 ) )
258
258
{
259
- if ( Utilities . IsContentTypeMatch ( "application/octet-stream" , response . ContentType ) )
259
+ if ( Utilities . IsContentTypeMatch ( "application/octet-stream" , response . ContentType ) )
260
260
{
261
261
response . PostmanCollection = await httpResponse . Content . ReadAsByteArrayAsync ( ) ;
262
262
}
@@ -296,7 +296,7 @@ public async Task<GetAllApiEndpointsResponse> GetAllApiEndpointsAsync(GetAllApiE
296
296
} ;
297
297
if ( ( response . StatusCode == 200 ) )
298
298
{
299
- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
299
+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
300
300
{
301
301
response . ApiEndpoints = JsonConvert . DeserializeObject < List < ApiEndpoint > > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
302
302
}
@@ -336,7 +336,7 @@ public async Task<GetAllForVersionApiEndpointsResponse> GetAllForVersionApiEndpo
336
336
} ;
337
337
if ( ( response . StatusCode == 200 ) )
338
338
{
339
- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
339
+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
340
340
{
341
341
response . ApiEndpoints = JsonConvert . DeserializeObject < List < ApiEndpoint > > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
342
342
}
@@ -376,7 +376,7 @@ public async Task<GetApiEndpointResponse> GetApiEndpointAsync(GetApiEndpointRequ
376
376
} ;
377
377
if ( ( response . StatusCode == 200 ) )
378
378
{
379
- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
379
+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
380
380
{
381
381
response . ApiEndpoint = JsonConvert . DeserializeObject < ApiEndpoint > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
382
382
}
@@ -425,7 +425,7 @@ public async Task<UpsertApiEndpointResponse> UpsertApiEndpointAsync(UpsertApiEnd
425
425
} ;
426
426
if ( ( response . StatusCode == 200 ) )
427
427
{
428
- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
428
+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
429
429
{
430
430
response . ApiEndpoint = JsonConvert . DeserializeObject < ApiEndpoint > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
431
431
}
0 commit comments