Skip to content

Commit a25f3e0

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.82.0
1 parent 6ed11ab commit a25f3e0

File tree

108 files changed

+522
-371
lines changed

Some content is hidden

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

108 files changed

+522
-371
lines changed

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,14 @@ Based on:
188188
### Generated
189189
- [csharp v1.13.4] .
190190
### Releases
191-
- [NuGet v1.13.4] https://www.nuget.org/packages/SpeakeasySDK/1.13.4 - .
191+
- [NuGet v1.13.4] https://www.nuget.org/packages/SpeakeasySDK/1.13.4 - .
192+
193+
## 2023-09-08 00:03:05
194+
### Changes
195+
Based on:
196+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
197+
- Speakeasy CLI 1.82.0 (2.107.0) https://github.com/speakeasy-api/speakeasy
198+
### Generated
199+
- [csharp v1.13.5] .
200+
### Releases
201+
- [NuGet v1.13.5] https://www.nuget.org/packages/SpeakeasySDK/1.13.5 - .

Speakeasy/ApiEndpoints.cs

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

Speakeasy/Apis.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public class ApisSDK: IApisSDK
3434
{
3535
public SDKConfig Config { get; private set; }
3636
private const string _language = "csharp";
37-
private const string _sdkVersion = "1.13.4";
38-
private const string _sdkGenVersion = "2.101.0";
37+
private const string _sdkVersion = "1.13.5";
38+
private const string _sdkGenVersion = "2.107.0";
3939
private const string _openapiDocVersion = "0.3.0";
4040
private string _serverUrl = "";
4141
private ISpeakeasyHttpClient _defaultClient;
@@ -129,7 +129,7 @@ public async Task<GenerateOpenApiSpecResponse> GenerateOpenApiSpecAsync(Generate
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.GenerateOpenApiSpecDiff = JsonConvert.DeserializeObject<GenerateOpenApiSpecDiff>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
135135
}
@@ -176,7 +176,7 @@ public async Task<GeneratePostmanCollectionResponse> GeneratePostmanCollectionAs
176176
};
177177
if((response.StatusCode == 200))
178178
{
179-
if(Utilities.IsContentTypeMatch("application/octet-stream",response.ContentType))
179+
if(Utilities.IsContentTypeMatch("application/octet-stream", response.ContentType))
180180
{
181181
response.PostmanCollection = await httpResponse.Content.ReadAsByteArrayAsync();
182182
}
@@ -224,7 +224,7 @@ public async Task<GetAllApiVersionsResponse> GetAllApiVersionsAsync(GetAllApiVer
224224
};
225225
if((response.StatusCode == 200))
226226
{
227-
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
227+
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
228228
{
229229
response.Apis = JsonConvert.DeserializeObject<List<Api>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
230230
}
@@ -272,7 +272,7 @@ public async Task<GetApisResponse> GetApisAsync(GetApisRequest? request = null)
272272
};
273273
if((response.StatusCode == 200))
274274
{
275-
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
275+
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
276276
{
277277
response.Apis = JsonConvert.DeserializeObject<List<Api>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
278278
}
@@ -329,7 +329,7 @@ public async Task<UpsertApiResponse> UpsertApiAsync(UpsertApiRequest request)
329329
};
330330
if((response.StatusCode == 200))
331331
{
332-
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
332+
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
333333
{
334334
response.Api = JsonConvert.DeserializeObject<Api>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
335335
}

Speakeasy/Embeds.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public class EmbedsSDK: IEmbedsSDK
3131
{
3232
public SDKConfig Config { get; private set; }
3333
private const string _language = "csharp";
34-
private const string _sdkVersion = "1.13.4";
35-
private const string _sdkGenVersion = "2.101.0";
34+
private const string _sdkVersion = "1.13.5";
35+
private const string _sdkGenVersion = "2.107.0";
3636
private const string _openapiDocVersion = "0.3.0";
3737
private string _serverUrl = "";
3838
private ISpeakeasyHttpClient _defaultClient;
@@ -83,7 +83,7 @@ public async Task<GetEmbedAccessTokenResponse> GetEmbedAccessTokenAsync(GetEmbed
8383
};
8484
if((response.StatusCode == 200))
8585
{
86-
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
86+
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
8787
{
8888
response.EmbedAccessTokenResponse = JsonConvert.DeserializeObject<EmbedAccessTokenResponse>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
8989
}
@@ -126,7 +126,7 @@ public async Task<GetValidEmbedAccessTokensResponse> GetValidEmbedAccessTokensAs
126126
};
127127
if((response.StatusCode == 200))
128128
{
129-
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
129+
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
130130
{
131131
response.EmbedTokens = JsonConvert.DeserializeObject<List<EmbedToken>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
132132
}

Speakeasy/Metadata.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public class MetadataSDK: IMetadataSDK
3131
{
3232
public SDKConfig Config { get; private set; }
3333
private const string _language = "csharp";
34-
private const string _sdkVersion = "1.13.4";
35-
private const string _sdkGenVersion = "2.101.0";
34+
private const string _sdkVersion = "1.13.5";
35+
private const string _sdkGenVersion = "2.107.0";
3636
private const string _openapiDocVersion = "0.3.0";
3737
private string _serverUrl = "";
3838
private ISpeakeasyHttpClient _defaultClient;
@@ -117,7 +117,7 @@ public async Task<GetVersionMetadataResponse> GetVersionMetadataAsync(GetVersion
117117
};
118118
if((response.StatusCode == 200))
119119
{
120-
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
120+
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
121121
{
122122
response.VersionMetadata = JsonConvert.DeserializeObject<List<VersionMetadata>>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
123123
}
@@ -169,7 +169,7 @@ public async Task<InsertVersionMetadataResponse> InsertVersionMetadataAsync(Inse
169169
};
170170
if((response.StatusCode == 200))
171171
{
172-
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
172+
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
173173
{
174174
response.VersionMetadata = JsonConvert.DeserializeObject<VersionMetadata>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
175175
}

Speakeasy/Models/Operations/DeleteApiEndpointRequest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ public class DeleteApiEndpointRequest
1919
/// The ID of the ApiEndpoint to delete.
2020
/// </summary>
2121
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=apiEndpointID")]
22-
public string ApiEndpointID { get; set; }
22+
public string ApiEndpointID { get; set; } = default!;
2323

2424
/// <summary>
2525
/// The ID of the Api the ApiEndpoint belongs to.
2626
/// </summary>
2727
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=apiID")]
28-
public string ApiID { get; set; }
28+
public string ApiID { get; set; } = default!;
2929

3030
/// <summary>
3131
/// The version ID of the Api the ApiEndpoint belongs to.
3232
/// </summary>
3333
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=versionID")]
34-
public string VersionID { get; set; }
34+
public string VersionID { get; set; } = default!;
3535

3636
}
3737

Speakeasy/Models/Operations/DeleteApiEndpointResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Speakeasy.Models.Operations
1818
public class DeleteApiEndpointResponse
1919
{
2020

21-
public string? ContentType { get; set; }
21+
public string? ContentType { get; set; } = default!;
2222

2323
/// <summary>
2424
/// Default error response
@@ -27,7 +27,7 @@ public class DeleteApiEndpointResponse
2727
public Error? Error { get; set; }
2828

2929

30-
public int StatusCode { get; set; }
30+
public int StatusCode { get; set; } = default!;
3131

3232

3333
public HttpResponseMessage? RawResponse { get; set; }

Speakeasy/Models/Operations/DeleteApiRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ public class DeleteApiRequest
1919
/// The ID of the Api to delete.
2020
/// </summary>
2121
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=apiID")]
22-
public string ApiID { get; set; }
22+
public string ApiID { get; set; } = default!;
2323

2424
/// <summary>
2525
/// The version ID of the Api to delete.
2626
/// </summary>
2727
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=versionID")]
28-
public string VersionID { get; set; }
28+
public string VersionID { get; set; } = default!;
2929

3030
}
3131

Speakeasy/Models/Operations/DeleteApiResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Speakeasy.Models.Operations
1818
public class DeleteApiResponse
1919
{
2020

21-
public string? ContentType { get; set; }
21+
public string? ContentType { get; set; } = default!;
2222

2323
/// <summary>
2424
/// Default error response
@@ -27,7 +27,7 @@ public class DeleteApiResponse
2727
public Error? Error { get; set; }
2828

2929

30-
public int StatusCode { get; set; }
30+
public int StatusCode { get; set; } = default!;
3131

3232

3333
public HttpResponseMessage? RawResponse { get; set; }

Speakeasy/Models/Operations/DeleteSchemaRequest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ public class DeleteSchemaRequest
1919
/// The ID of the Api to delete schemas for.
2020
/// </summary>
2121
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=apiID")]
22-
public string ApiID { get; set; }
22+
public string ApiID { get; set; } = default!;
2323

2424
/// <summary>
2525
/// The revision ID of the schema to delete.
2626
/// </summary>
2727
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=revisionID")]
28-
public string RevisionID { get; set; }
28+
public string RevisionID { get; set; } = default!;
2929

3030
/// <summary>
3131
/// The version ID of the Api to delete metadata for.
3232
/// </summary>
3333
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=versionID")]
34-
public string VersionID { get; set; }
34+
public string VersionID { get; set; } = default!;
3535

3636
}
3737

Speakeasy/Models/Operations/DeleteSchemaResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Speakeasy.Models.Operations
1818
public class DeleteSchemaResponse
1919
{
2020

21-
public string? ContentType { get; set; }
21+
public string? ContentType { get; set; } = default!;
2222

2323
/// <summary>
2424
/// Default error response
@@ -27,7 +27,7 @@ public class DeleteSchemaResponse
2727
public Error? Error { get; set; }
2828

2929

30-
public int StatusCode { get; set; }
30+
public int StatusCode { get; set; } = default!;
3131

3232

3333
public HttpResponseMessage? RawResponse { get; set; }

Speakeasy/Models/Operations/DeleteVersionMetadataRequest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,25 @@ public class DeleteVersionMetadataRequest
1919
/// The ID of the Api to delete metadata for.
2020
/// </summary>
2121
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=apiID")]
22-
public string ApiID { get; set; }
22+
public string ApiID { get; set; } = default!;
2323

2424
/// <summary>
2525
/// The key of the metadata to delete.
2626
/// </summary>
2727
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=metaKey")]
28-
public string MetaKey { get; set; }
28+
public string MetaKey { get; set; } = default!;
2929

3030
/// <summary>
3131
/// The value of the metadata to delete.
3232
/// </summary>
3333
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=metaValue")]
34-
public string MetaValue { get; set; }
34+
public string MetaValue { get; set; } = default!;
3535

3636
/// <summary>
3737
/// The version ID of the Api to delete metadata for.
3838
/// </summary>
3939
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=versionID")]
40-
public string VersionID { get; set; }
40+
public string VersionID { get; set; } = default!;
4141

4242
}
4343

Speakeasy/Models/Operations/DeleteVersionMetadataResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Speakeasy.Models.Operations
1818
public class DeleteVersionMetadataResponse
1919
{
2020

21-
public string? ContentType { get; set; }
21+
public string? ContentType { get; set; } = default!;
2222

2323
/// <summary>
2424
/// Default error response
@@ -27,7 +27,7 @@ public class DeleteVersionMetadataResponse
2727
public Error? Error { get; set; }
2828

2929

30-
public int StatusCode { get; set; }
30+
public int StatusCode { get; set; } = default!;
3131

3232

3333
public HttpResponseMessage? RawResponse { get; set; }

Speakeasy/Models/Operations/DownloadSchemaRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ public class DownloadSchemaRequest
1919
/// The ID of the Api to download the schema for.
2020
/// </summary>
2121
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=apiID")]
22-
public string ApiID { get; set; }
22+
public string ApiID { get; set; } = default!;
2323

2424
/// <summary>
2525
/// The version ID of the Api to delete metadata for.
2626
/// </summary>
2727
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=versionID")]
28-
public string VersionID { get; set; }
28+
public string VersionID { get; set; } = default!;
2929

3030
}
3131

0 commit comments

Comments
 (0)