Skip to content

Commit 86ca1ba

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.296.1
1 parent 5b3fe04 commit 86ca1ba

Some content is hidden

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

43 files changed

+629
-60
lines changed

.speakeasy/gen.lock

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: f73d2126-985b-4d69-88ee-b7c69254d8bf
33
management:
4-
docChecksum: c1d828d0e8ecf8fac6bec9e95f0ca086
4+
docChecksum: 8a861fbcf601580459816dcab1973d85
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.295.2
7-
generationVersion: 2.335.5
8-
releaseVersion: 5.8.3
9-
configChecksum: 2e537590c08d279cd427da9026778633
6+
speakeasyVersion: 1.296.1
7+
generationVersion: 2.338.1
8+
releaseVersion: 5.9.0
9+
configChecksum: 355a7b6702f0a14375ea76ec8a7d0dfb
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-csharp.git
1111
repoSubDirectory: .
1212
published: true
1313
features:
1414
csharp:
1515
additionalDependencies: 0.1.0
16-
core: 3.8.3
16+
core: 3.9.0
1717
deprecations: 2.81.2
1818
examples: 2.81.3
1919
globalSecurity: 2.83.4
@@ -38,6 +38,7 @@ generatedFiles:
3838
- SpeakeasySDK/Github.cs
3939
- SpeakeasySDK/Organizations.cs
4040
- SpeakeasySDK/Reports.cs
41+
- SpeakeasySDK/Suggest.cs
4142
- SpeakeasySDK/Embeds.cs
4243
- SpeakeasySDK/Events.cs
4344
- SpeakeasySDK/Speakeasy.cs
@@ -157,6 +158,13 @@ generatedFiles:
157158
- SpeakeasySDK/Models/Operations/UploadReportRequestBody.cs
158159
- SpeakeasySDK/Models/Operations/UploadReportUploadedReport.cs
159160
- SpeakeasySDK/Models/Operations/UploadReportResponse.cs
161+
- SpeakeasySDK/Models/Operations/DepthStyle.cs
162+
- SpeakeasySDK/Models/Operations/Style.cs
163+
- SpeakeasySDK/Models/Operations/Opts.cs
164+
- SpeakeasySDK/Models/Operations/Schema.cs
165+
- SpeakeasySDK/Models/Operations/SuggestOperationIDsRequestBody.cs
166+
- SpeakeasySDK/Models/Operations/SuggestOperationIDsSuggestion.cs
167+
- SpeakeasySDK/Models/Operations/SuggestOperationIDsResponse.cs
160168
- SpeakeasySDK/Models/Operations/GetEmbedAccessTokenRequest.cs
161169
- SpeakeasySDK/Models/Operations/GetEmbedAccessTokenResponse.cs
162170
- SpeakeasySDK/Models/Operations/GetValidEmbedAccessTokensResponse.cs
@@ -320,6 +328,13 @@ generatedFiles:
320328
- docs/Models/Operations/UploadReportRequestBody.md
321329
- docs/Models/Operations/UploadReportUploadedReport.md
322330
- docs/Models/Operations/UploadReportResponse.md
331+
- docs/Models/Operations/DepthStyle.md
332+
- docs/Models/Operations/Style.md
333+
- docs/Models/Operations/Opts.md
334+
- docs/Models/Operations/Schema.md
335+
- docs/Models/Operations/SuggestOperationIDsRequestBody.md
336+
- docs/Models/Operations/SuggestOperationIDsSuggestion.md
337+
- docs/Models/Operations/SuggestOperationIDsResponse.md
323338
- docs/Models/Operations/GetEmbedAccessTokenRequest.md
324339
- docs/Models/Operations/GetEmbedAccessTokenResponse.md
325340
- docs/Models/Operations/GetValidEmbedAccessTokensResponse.md
@@ -399,6 +414,7 @@ generatedFiles:
399414
- docs/sdks/github/README.md
400415
- docs/sdks/organizations/README.md
401416
- docs/sdks/reports/README.md
417+
- docs/sdks/suggest/README.md
402418
- docs/sdks/embeds/README.md
403419
- docs/sdks/events/README.md
404420
- USAGE.md

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ var res = await sdk.Apis.GetApisAsync(req);
114114
* [GetLintingReportSignedUrl](docs/sdks/reports/README.md#getlintingreportsignedurl) - Get the signed access url for the linting reports for a particular document.
115115
* [UploadReport](docs/sdks/reports/README.md#uploadreport) - Upload a report.
116116

117+
### [Suggest](docs/sdks/suggest/README.md)
118+
119+
* [SuggestOperationIDs](docs/sdks/suggest/README.md#suggestoperationids) - Generate operation ID suggestions.
120+
117121
### [Embeds](docs/sdks/embeds/README.md)
118122

119123
* [GetEmbedAccessToken](docs/sdks/embeds/README.md#getembedaccesstoken) - Get an embed access token for the current workspace.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,4 +668,14 @@ Based on:
668668
### Generated
669669
- [csharp v5.8.3] .
670670
### Releases
671-
- [NuGet v5.8.3] https://www.nuget.org/packages/SpeakeasySDK/5.8.3 - .
671+
- [NuGet v5.8.3] https://www.nuget.org/packages/SpeakeasySDK/5.8.3 - .
672+
673+
## 2024-05-25 00:03:24
674+
### Changes
675+
Based on:
676+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
677+
- Speakeasy CLI 1.296.1 (2.338.1) https://github.com/speakeasy-api/speakeasy
678+
### Generated
679+
- [csharp v5.9.0] .
680+
### Releases
681+
- [NuGet v5.9.0] https://www.nuget.org/packages/SpeakeasySDK/5.9.0 - .

SpeakeasySDK/ApiEndpoints.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ public class ApiEndpoints: IApiEndpoints
9898
{
9999
public SDKConfig SDKConfiguration { get; private set; }
100100
private const string _language = "csharp";
101-
private const string _sdkVersion = "5.8.3";
102-
private const string _sdkGenVersion = "2.335.5";
101+
private const string _sdkVersion = "5.9.0";
102+
private const string _sdkGenVersion = "2.338.1";
103103
private const string _openapiDocVersion = "0.4.0 .";
104-
private const string _userAgent = "speakeasy-sdk/csharp 5.8.3 2.335.5 0.4.0 . SpeakeasySDK";
104+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.0 2.338.1 0.4.0 . SpeakeasySDK";
105105
private string _serverUrl = "";
106106
private ISpeakeasyHttpClient _defaultClient;
107107
private Func<Security>? _securitySource;

SpeakeasySDK/Apis.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ public class Apis: IApis
9494
{
9595
public SDKConfig SDKConfiguration { get; private set; }
9696
private const string _language = "csharp";
97-
private const string _sdkVersion = "5.8.3";
98-
private const string _sdkGenVersion = "2.335.5";
97+
private const string _sdkVersion = "5.9.0";
98+
private const string _sdkGenVersion = "2.338.1";
9999
private const string _openapiDocVersion = "0.4.0 .";
100-
private const string _userAgent = "speakeasy-sdk/csharp 5.8.3 2.335.5 0.4.0 . SpeakeasySDK";
100+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.0 2.338.1 0.4.0 . SpeakeasySDK";
101101
private string _serverUrl = "";
102102
private ISpeakeasyHttpClient _defaultClient;
103103
private Func<Security>? _securitySource;

SpeakeasySDK/Artifacts.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ public class Artifacts: IArtifacts
5757
{
5858
public SDKConfig SDKConfiguration { get; private set; }
5959
private const string _language = "csharp";
60-
private const string _sdkVersion = "5.8.3";
61-
private const string _sdkGenVersion = "2.335.5";
60+
private const string _sdkVersion = "5.9.0";
61+
private const string _sdkGenVersion = "2.338.1";
6262
private const string _openapiDocVersion = "0.4.0 .";
63-
private const string _userAgent = "speakeasy-sdk/csharp 5.8.3 2.335.5 0.4.0 . SpeakeasySDK";
63+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.0 2.338.1 0.4.0 . SpeakeasySDK";
6464
private string _serverUrl = "";
6565
private ISpeakeasyHttpClient _defaultClient;
6666
private Func<Security>? _securitySource;

SpeakeasySDK/Auth.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public class Auth: IAuth
6060
{
6161
public SDKConfig SDKConfiguration { get; private set; }
6262
private const string _language = "csharp";
63-
private const string _sdkVersion = "5.8.3";
64-
private const string _sdkGenVersion = "2.335.5";
63+
private const string _sdkVersion = "5.9.0";
64+
private const string _sdkGenVersion = "2.338.1";
6565
private const string _openapiDocVersion = "0.4.0 .";
66-
private const string _userAgent = "speakeasy-sdk/csharp 5.8.3 2.335.5 0.4.0 . SpeakeasySDK";
66+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.0 2.338.1 0.4.0 . SpeakeasySDK";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _defaultClient;
6969
private Func<Security>? _securitySource;

SpeakeasySDK/Embeds.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public class Embeds: IEmbeds
5656
{
5757
public SDKConfig SDKConfiguration { get; private set; }
5858
private const string _language = "csharp";
59-
private const string _sdkVersion = "5.8.3";
60-
private const string _sdkGenVersion = "2.335.5";
59+
private const string _sdkVersion = "5.9.0";
60+
private const string _sdkGenVersion = "2.338.1";
6161
private const string _openapiDocVersion = "0.4.0 .";
62-
private const string _userAgent = "speakeasy-sdk/csharp 5.8.3 2.335.5 0.4.0 . SpeakeasySDK";
62+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.0 2.338.1 0.4.0 . SpeakeasySDK";
6363
private string _serverUrl = "";
6464
private ISpeakeasyHttpClient _defaultClient;
6565
private Func<Security>? _securitySource;

SpeakeasySDK/Events.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public class Events: IEvents
6060
{
6161
public SDKConfig SDKConfiguration { get; private set; }
6262
private const string _language = "csharp";
63-
private const string _sdkVersion = "5.8.3";
64-
private const string _sdkGenVersion = "2.335.5";
63+
private const string _sdkVersion = "5.9.0";
64+
private const string _sdkGenVersion = "2.338.1";
6565
private const string _openapiDocVersion = "0.4.0 .";
66-
private const string _userAgent = "speakeasy-sdk/csharp 5.8.3 2.335.5 0.4.0 . SpeakeasySDK";
66+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.0 2.338.1 0.4.0 . SpeakeasySDK";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _defaultClient;
6969
private Func<Security>? _securitySource;

SpeakeasySDK/Github.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ public class Github: IGithub
3333
{
3434
public SDKConfig SDKConfiguration { get; private set; }
3535
private const string _language = "csharp";
36-
private const string _sdkVersion = "5.8.3";
37-
private const string _sdkGenVersion = "2.335.5";
36+
private const string _sdkVersion = "5.9.0";
37+
private const string _sdkGenVersion = "2.338.1";
3838
private const string _openapiDocVersion = "0.4.0 .";
39-
private const string _userAgent = "speakeasy-sdk/csharp 5.8.3 2.335.5 0.4.0 . SpeakeasySDK";
39+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.0 2.338.1 0.4.0 . SpeakeasySDK";
4040
private string _serverUrl = "";
4141
private ISpeakeasyHttpClient _defaultClient;
4242
private Func<Security>? _securitySource;

SpeakeasySDK/Metadata.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ public class Metadata: IMetadata
5151
{
5252
public SDKConfig SDKConfiguration { get; private set; }
5353
private const string _language = "csharp";
54-
private const string _sdkVersion = "5.8.3";
55-
private const string _sdkGenVersion = "2.335.5";
54+
private const string _sdkVersion = "5.9.0";
55+
private const string _sdkGenVersion = "2.338.1";
5656
private const string _openapiDocVersion = "0.4.0 .";
57-
private const string _userAgent = "speakeasy-sdk/csharp 5.8.3 2.335.5 0.4.0 . SpeakeasySDK";
57+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.0 2.338.1 0.4.0 . SpeakeasySDK";
5858
private string _serverUrl = "";
5959
private ISpeakeasyHttpClient _defaultClient;
6060
private Func<Security>? _securitySource;
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost when
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
#nullable enable
10+
namespace SpeakeasySDK.Models.Operations
11+
{
12+
using Newtonsoft.Json;
13+
using SpeakeasySDK.Utils;
14+
using System;
15+
16+
public enum DepthStyle
17+
{
18+
[JsonProperty("original")]
19+
Original,
20+
[JsonProperty("flat")]
21+
Flat,
22+
[JsonProperty("nested")]
23+
Nested,
24+
[JsonProperty("deep")]
25+
Deep,
26+
}
27+
28+
public static class DepthStyleExtension
29+
{
30+
public static string Value(this DepthStyle value)
31+
{
32+
return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString();
33+
}
34+
35+
public static DepthStyle ToEnum(this string value)
36+
{
37+
foreach(var field in typeof(DepthStyle).GetFields())
38+
{
39+
var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false);
40+
if (attributes.Length == 0)
41+
{
42+
continue;
43+
}
44+
45+
var attribute = attributes[0] as JsonPropertyAttribute;
46+
if (attribute != null && attribute.PropertyName == value)
47+
{
48+
var enumVal = field.GetValue(null);
49+
50+
if (enumVal is DepthStyle)
51+
{
52+
return (DepthStyle)enumVal;
53+
}
54+
}
55+
}
56+
57+
throw new Exception($"Unknown value {value} for enum DepthStyle");
58+
}
59+
}
60+
61+
}

SpeakeasySDK/Models/Operations/GetSchemaResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class GetSchemaResponse
3131
/// <summary>
3232
/// OK
3333
/// </summary>
34-
public Schema? Schema { get; set; }
34+
public Models.Shared.Schema? Schema { get; set; }
3535

3636
/// <summary>
3737
/// HTTP response status code for this operation

SpeakeasySDK/Models/Operations/GetSchemaRevisionResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class GetSchemaRevisionResponse
3131
/// <summary>
3232
/// OK
3333
/// </summary>
34-
public Schema? Schema { get; set; }
34+
public Models.Shared.Schema? Schema { get; set; }
3535

3636
/// <summary>
3737
/// HTTP response status code for this operation

SpeakeasySDK/Models/Operations/GetSchemasResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ public class GetSchemasResponse
4242
/// <summary>
4343
/// OK
4444
/// </summary>
45-
public List<Schema>? Classes { get; set; }
45+
public List<Models.Shared.Schema>? Classes { get; set; }
4646
}
4747
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost when
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
#nullable enable
10+
namespace SpeakeasySDK.Models.Operations
11+
{
12+
using Newtonsoft.Json;
13+
using SpeakeasySDK.Models.Operations;
14+
using SpeakeasySDK.Utils;
15+
16+
public class Opts
17+
{
18+
19+
[JsonProperty("depth_style")]
20+
public DepthStyle? DepthStyle { get; set; }
21+
22+
[JsonProperty("style")]
23+
public Style? Style { get; set; }
24+
}
25+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost when
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
#nullable enable
10+
namespace SpeakeasySDK.Models.Operations
11+
{
12+
using SpeakeasySDK.Utils;
13+
14+
public class Schema
15+
{
16+
17+
[SpeakeasyMetadata("multipartForm:content")]
18+
public byte[] Content { get; set; } = default!;
19+
20+
[SpeakeasyMetadata("multipartForm:name=schema")]
21+
public string FileName { get; set; } = default!;
22+
}
23+
}

0 commit comments

Comments
 (0)