@@ -36,8 +36,8 @@ public class ApiEndpointsSDK: IApiEndpointsSDK
3636 {
3737 public SDKConfig Config { get ; private set ; }
3838 private const string _language = "csharp" ;
39- private const string _sdkVersion = "1.13.4 " ;
40- private const string _sdkGenVersion = "2.101 .0" ;
39+ private const string _sdkVersion = "1.13.5 " ;
40+ private const string _sdkGenVersion = "2.107 .0" ;
4141 private const string _openapiDocVersion = "0.3.0" ;
4242 private string _serverUrl = "" ;
4343 private ISpeakeasyHttpClient _defaultClient ;
@@ -131,7 +131,7 @@ public async Task<FindApiEndpointResponse> FindApiEndpointAsync(FindApiEndpointR
131131 } ;
132132 if ( ( response . StatusCode == 200 ) )
133133 {
134- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
134+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
135135 {
136136 response . ApiEndpoint = JsonConvert . DeserializeObject < ApiEndpoint > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) } } ) ;
137137 }
@@ -179,7 +179,7 @@ public async Task<GenerateOpenApiSpecForApiEndpointResponse> GenerateOpenApiSpec
179179 } ;
180180 if ( ( response . StatusCode == 200 ) )
181181 {
182- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
182+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
183183 {
184184 response . GenerateOpenApiSpecDiff = JsonConvert . DeserializeObject < GenerateOpenApiSpecDiff > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) } } ) ;
185185 }
@@ -226,7 +226,7 @@ public async Task<GeneratePostmanCollectionForApiEndpointResponse> GeneratePostm
226226 } ;
227227 if ( ( response . StatusCode == 200 ) )
228228 {
229- if ( Utilities . IsContentTypeMatch ( "application/octet-stream" , response . ContentType ) )
229+ if ( Utilities . IsContentTypeMatch ( "application/octet-stream" , response . ContentType ) )
230230 {
231231 response . PostmanCollection = await httpResponse . Content . ReadAsByteArrayAsync ( ) ;
232232 }
@@ -269,7 +269,7 @@ public async Task<GetAllApiEndpointsResponse> GetAllApiEndpointsAsync(GetAllApiE
269269 } ;
270270 if ( ( response . StatusCode == 200 ) )
271271 {
272- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
272+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
273273 {
274274 response . ApiEndpoints = JsonConvert . DeserializeObject < List < ApiEndpoint > > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) } } ) ;
275275 }
@@ -312,7 +312,7 @@ public async Task<GetAllForVersionApiEndpointsResponse> GetAllForVersionApiEndpo
312312 } ;
313313 if ( ( response . StatusCode == 200 ) )
314314 {
315- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
315+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
316316 {
317317 response . ApiEndpoints = JsonConvert . DeserializeObject < List < ApiEndpoint > > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) } } ) ;
318318 }
@@ -355,7 +355,7 @@ public async Task<GetApiEndpointResponse> GetApiEndpointAsync(GetApiEndpointRequ
355355 } ;
356356 if ( ( response . StatusCode == 200 ) )
357357 {
358- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
358+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
359359 {
360360 response . ApiEndpoint = JsonConvert . DeserializeObject < ApiEndpoint > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) } } ) ;
361361 }
@@ -411,7 +411,7 @@ public async Task<UpsertApiEndpointResponse> UpsertApiEndpointAsync(UpsertApiEnd
411411 } ;
412412 if ( ( response . StatusCode == 200 ) )
413413 {
414- if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
414+ if ( Utilities . IsContentTypeMatch ( "application/json" , response . ContentType ) )
415415 {
416416 response . ApiEndpoint = JsonConvert . DeserializeObject < ApiEndpoint > ( await httpResponse . Content . ReadAsStringAsync ( ) , new JsonSerializerSettings ( ) { NullValueHandling = NullValueHandling . Ignore , Converters = new JsonConverter [ ] { new FlexibleObjectDeserializer ( ) } } ) ;
417417 }
0 commit comments