@@ -96,8 +96,8 @@ public class ApiEndpointsSDK: IApiEndpointsSDK
9696 {
9797 public SDKConfig Config { get ; private set ; }
9898 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" ;
101101 private const string _openapiDocVersion = "0.3.0" ;
102102 private string _serverUrl = "" ;
103103 private ISpeakeasyHttpClient _defaultClient ;
@@ -176,7 +176,7 @@ public async Task<FindApiEndpointResponse> FindApiEndpointAsync(FindApiEndpointR
176176 } ;
177177 if ( ( response . StatusCode == 200 ) )
178178 {
179- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
179+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
180180 {
181181 response . ApiEndpoint = JsonConvert . DeserializeObject < ApiEndpoint > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
182182 }
@@ -216,7 +216,7 @@ public async Task<GenerateOpenApiSpecForApiEndpointResponse> GenerateOpenApiSpec
216216 } ;
217217 if ( ( response . StatusCode == 200 ) )
218218 {
219- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
219+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
220220 {
221221 response . GenerateOpenApiSpecDiff = JsonConvert . DeserializeObject < GenerateOpenApiSpecDiff > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
222222 }
@@ -256,7 +256,7 @@ public async Task<GeneratePostmanCollectionForApiEndpointResponse> GeneratePostm
256256 } ;
257257 if ( ( response . StatusCode == 200 ) )
258258 {
259- if ( Utilities . IsContentTypeMatch ( "application/octet-stream" , response . ContentType ) )
259+ if ( Utilities . IsContentTypeMatch ( "application/octet-stream" , response . ContentType ) )
260260 {
261261 response . PostmanCollection = await httpResponse . Content . ReadAsByteArrayAsync ( ) ;
262262 }
@@ -296,7 +296,7 @@ public async Task<GetAllApiEndpointsResponse> GetAllApiEndpointsAsync(GetAllApiE
296296 } ;
297297 if ( ( response . StatusCode == 200 ) )
298298 {
299- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
299+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
300300 {
301301 response . ApiEndpoints = JsonConvert . DeserializeObject < List < ApiEndpoint > > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
302302 }
@@ -336,7 +336,7 @@ public async Task<GetAllForVersionApiEndpointsResponse> GetAllForVersionApiEndpo
336336 } ;
337337 if ( ( response . StatusCode == 200 ) )
338338 {
339- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
339+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
340340 {
341341 response . ApiEndpoints = JsonConvert . DeserializeObject < List < ApiEndpoint > > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
342342 }
@@ -376,7 +376,7 @@ public async Task<GetApiEndpointResponse> GetApiEndpointAsync(GetApiEndpointRequ
376376 } ;
377377 if ( ( response . StatusCode == 200 ) )
378378 {
379- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
379+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
380380 {
381381 response . ApiEndpoint = JsonConvert . DeserializeObject < ApiEndpoint > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
382382 }
@@ -425,7 +425,7 @@ public async Task<UpsertApiEndpointResponse> UpsertApiEndpointAsync(UpsertApiEnd
425425 } ;
426426 if ( ( response . StatusCode == 200 ) )
427427 {
428- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
428+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
429429 {
430430 response . ApiEndpoint = JsonConvert . DeserializeObject < ApiEndpoint > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) , new EnumSerializer ( ) } } ) ;
431431 }
0 commit comments