Skip to content

Commit e5cdb88

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.91.2
1 parent 3662766 commit e5cdb88

File tree

110 files changed

+424
-408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+424
-408
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ var res = await sdk.Apis.GetApisAsync(new GetApisRequest() {
105105

106106
<!-- Start Dev Containers -->
107107

108-
109-
110108
<!-- End Dev Containers -->
111109

112110
<!-- Placeholder for Future Speakeasy SDK Sections -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,14 @@ Based on:
228228
### Generated
229229
- [csharp v1.14.0] .
230230
### Releases
231-
- [NuGet v1.14.0] https://www.nuget.org/packages/SpeakeasySDK/1.14.0 - .
231+
- [NuGet v1.14.0] https://www.nuget.org/packages/SpeakeasySDK/1.14.0 - .
232+
233+
## 2023-09-27 00:03:11
234+
### Changes
235+
Based on:
236+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
237+
- Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy
238+
### Generated
239+
- [csharp v1.14.1] .
240+
### Releases
241+
- [NuGet v1.14.1] https://www.nuget.org/packages/SpeakeasySDK/1.14.1 - .

Speakeasy/ApiEndpoints.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

Speakeasy/Apis.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ public class ApisSDK: IApisSDK
9292
{
9393
public SDKConfig Config { get; private set; }
9494
private const string _language = "csharp";
95-
private const string _sdkVersion = "1.14.0";
96-
private const string _sdkGenVersion = "2.129.1";
95+
private const string _sdkVersion = "1.14.1";
96+
private const string _sdkGenVersion = "2.131.1";
9797
private const string _openapiDocVersion = "0.3.0";
9898
private string _serverUrl = "";
9999
private ISpeakeasyHttpClient _defaultClient;
@@ -172,7 +172,7 @@ public async Task<GenerateOpenApiSpecResponse> GenerateOpenApiSpecAsync(Generate
172172
};
173173
if((response.StatusCode == 200))
174174
{
175-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
175+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
176176
{
177177
response.GenerateOpenApiSpecDiff = JsonConvert.DeserializeObject<GenerateOpenApiSpecDiff>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
178178
}
@@ -212,7 +212,7 @@ public async Task<GeneratePostmanCollectionResponse> GeneratePostmanCollectionAs
212212
};
213213
if((response.StatusCode == 200))
214214
{
215-
if(Utilities.IsContentTypeMatch("application/octet-stream", response.ContentType))
215+
if(Utilities.IsContentTypeMatch("application/octet-stream",response.ContentType))
216216
{
217217
response.PostmanCollection = await httpResponse.Content.ReadAsByteArrayAsync();
218218
}
@@ -252,7 +252,7 @@ public async Task<GetAllApiVersionsResponse> GetAllApiVersionsAsync(GetAllApiVer
252252
};
253253
if((response.StatusCode == 200))
254254
{
255-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
255+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
256256
{
257257
response.Apis = JsonConvert.DeserializeObject<List<Api>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
258258
}
@@ -292,7 +292,7 @@ public async Task<GetApisResponse> GetApisAsync(GetApisRequest? request = null)
292292
};
293293
if((response.StatusCode == 200))
294294
{
295-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
295+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
296296
{
297297
response.Apis = JsonConvert.DeserializeObject<List<Api>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
298298
}
@@ -341,7 +341,7 @@ public async Task<UpsertApiResponse> UpsertApiAsync(UpsertApiRequest request)
341341
};
342342
if((response.StatusCode == 200))
343343
{
344-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
344+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
345345
{
346346
response.Api = JsonConvert.DeserializeObject<Api>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
347347
}

Speakeasy/Embeds.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public class EmbedsSDK: IEmbedsSDK
5454
{
5555
public SDKConfig Config { get; private set; }
5656
private const string _language = "csharp";
57-
private const string _sdkVersion = "1.14.0";
58-
private const string _sdkGenVersion = "2.129.1";
57+
private const string _sdkVersion = "1.14.1";
58+
private const string _sdkGenVersion = "2.131.1";
5959
private const string _openapiDocVersion = "0.3.0";
6060
private string _serverUrl = "";
6161
private ISpeakeasyHttpClient _defaultClient;
@@ -98,7 +98,7 @@ public async Task<GetEmbedAccessTokenResponse> GetEmbedAccessTokenAsync(GetEmbed
9898
};
9999
if((response.StatusCode == 200))
100100
{
101-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
101+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
102102
{
103103
response.EmbedAccessTokenResponse = JsonConvert.DeserializeObject<EmbedAccessTokenResponse>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
104104
}
@@ -138,7 +138,7 @@ public async Task<GetValidEmbedAccessTokensResponse> GetValidEmbedAccessTokensAs
138138
};
139139
if((response.StatusCode == 200))
140140
{
141-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
141+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
142142
{
143143
response.EmbedTokens = JsonConvert.DeserializeObject<List<EmbedToken>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
144144
}

Speakeasy/Metadata.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public class MetadataSDK: IMetadataSDK
4949
{
5050
public SDKConfig Config { get; private set; }
5151
private const string _language = "csharp";
52-
private const string _sdkVersion = "1.14.0";
53-
private const string _sdkGenVersion = "2.129.1";
52+
private const string _sdkVersion = "1.14.1";
53+
private const string _sdkGenVersion = "2.131.1";
5454
private const string _openapiDocVersion = "0.3.0";
5555
private string _serverUrl = "";
5656
private ISpeakeasyHttpClient _defaultClient;
@@ -129,7 +129,7 @@ public async Task<GetVersionMetadataResponse> GetVersionMetadataAsync(GetVersion
129129
};
130130
if((response.StatusCode == 200))
131131
{
132-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
132+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
133133
{
134134
response.VersionMetadata = JsonConvert.DeserializeObject<List<VersionMetadata>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
135135
}
@@ -178,7 +178,7 @@ public async Task<InsertVersionMetadataResponse> InsertVersionMetadataAsync(Inse
178178
};
179179
if((response.StatusCode == 200))
180180
{
181-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
181+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
182182
{
183183
response.VersionMetadata = JsonConvert.DeserializeObject<VersionMetadata>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
184184
}

Speakeasy/Plugins.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public class PluginsSDK: IPluginsSDK
4949
{
5050
public SDKConfig Config { get; private set; }
5151
private const string _language = "csharp";
52-
private const string _sdkVersion = "1.14.0";
53-
private const string _sdkGenVersion = "2.129.1";
52+
private const string _sdkVersion = "1.14.1";
53+
private const string _sdkGenVersion = "2.131.1";
5454
private const string _openapiDocVersion = "0.3.0";
5555
private string _serverUrl = "";
5656
private ISpeakeasyHttpClient _defaultClient;
@@ -93,7 +93,7 @@ public async Task<GetPluginsResponse> GetPluginsAsync()
9393
};
9494
if((response.StatusCode == 200))
9595
{
96-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
96+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
9797
{
9898
response.Plugins = JsonConvert.DeserializeObject<List<Plugin>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
9999
}
@@ -133,7 +133,7 @@ public async Task<RunPluginResponse> RunPluginAsync(RunPluginRequest? request =
133133
};
134134
if((response.StatusCode == 200))
135135
{
136-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
136+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
137137
{
138138
response.BoundedRequests = JsonConvert.DeserializeObject<List<BoundedRequest>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
139139
}
@@ -182,7 +182,7 @@ public async Task<UpsertPluginResponse> UpsertPluginAsync(Plugin request)
182182
};
183183
if((response.StatusCode == 200))
184184
{
185-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
185+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
186186
{
187187
response.Plugin = JsonConvert.DeserializeObject<Plugin>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
188188
}

Speakeasy/Requests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ public class RequestsSDK: IRequestsSDK
5959
{
6060
public SDKConfig Config { get; private set; }
6161
private const string _language = "csharp";
62-
private const string _sdkVersion = "1.14.0";
63-
private const string _sdkGenVersion = "2.129.1";
62+
private const string _sdkVersion = "1.14.1";
63+
private const string _sdkGenVersion = "2.131.1";
6464
private const string _openapiDocVersion = "0.3.0";
6565
private string _serverUrl = "";
6666
private ISpeakeasyHttpClient _defaultClient;
@@ -103,7 +103,7 @@ public async Task<GenerateRequestPostmanCollectionResponse> GenerateRequestPostm
103103
};
104104
if((response.StatusCode == 200))
105105
{
106-
if(Utilities.IsContentTypeMatch("application/octet-stream", response.ContentType))
106+
if(Utilities.IsContentTypeMatch("application/octet-stream",response.ContentType))
107107
{
108108
response.PostmanCollection = await httpResponse.Content.ReadAsByteArrayAsync();
109109
}
@@ -143,7 +143,7 @@ public async Task<GetRequestFromEventLogResponse> GetRequestFromEventLogAsync(Ge
143143
};
144144
if((response.StatusCode == 200))
145145
{
146-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
146+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
147147
{
148148
response.UnboundedRequest = JsonConvert.DeserializeObject<UnboundedRequest>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
149149
}
@@ -183,7 +183,7 @@ public async Task<QueryEventLogResponse> QueryEventLogAsync(QueryEventLogRequest
183183
};
184184
if((response.StatusCode == 200))
185185
{
186-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
186+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
187187
{
188188
response.BoundedRequests = JsonConvert.DeserializeObject<List<BoundedRequest>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
189189
}

0 commit comments

Comments
 (0)