Skip to content

Commit 1d67652

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.299.6
1 parent 707a89b commit 1d67652

19 files changed

+73
-54
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ id: f73d2126-985b-4d69-88ee-b7c69254d8bf
33
management:
44
docChecksum: 9531c94b3e2fdcb61add911e4d5d1b28
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.299.1
7-
generationVersion: 2.338.5
8-
releaseVersion: 5.9.1
9-
configChecksum: d579c080f57e02b662e1e697526dc66d
6+
speakeasyVersion: 1.299.6
7+
generationVersion: 2.338.12
8+
releaseVersion: 5.9.2
9+
configChecksum: 0242e97e2d37375d214e4cf66c3ce062
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.9.1
16+
core: 3.9.3
1717
deprecations: 2.81.2
1818
examples: 2.81.3
1919
globalSecurity: 2.83.4

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,4 +688,14 @@ Based on:
688688
### Generated
689689
- [csharp v5.9.1] .
690690
### Releases
691-
- [NuGet v5.9.1] https://www.nuget.org/packages/SpeakeasySDK/5.9.1 - .
691+
- [NuGet v5.9.1] https://www.nuget.org/packages/SpeakeasySDK/5.9.1 - .
692+
693+
## 2024-06-04 00:03:33
694+
### Changes
695+
Based on:
696+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
697+
- Speakeasy CLI 1.299.6 (2.338.12) https://github.com/speakeasy-api/speakeasy
698+
### Generated
699+
- [csharp v5.9.2] .
700+
### Releases
701+
- [NuGet v5.9.2] https://www.nuget.org/packages/SpeakeasySDK/5.9.2 - .

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.9.1";
102-
private const string _sdkGenVersion = "2.338.5";
101+
private const string _sdkVersion = "5.9.2";
102+
private const string _sdkGenVersion = "2.338.12";
103103
private const string _openapiDocVersion = "0.4.0 .";
104-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
104+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
105105
private string _serverUrl = "";
106106
private ISpeakeasyHttpClient _client;
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.9.1";
98-
private const string _sdkGenVersion = "2.338.5";
97+
private const string _sdkVersion = "5.9.2";
98+
private const string _sdkGenVersion = "2.338.12";
9999
private const string _openapiDocVersion = "0.4.0 .";
100-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
100+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
101101
private string _serverUrl = "";
102102
private ISpeakeasyHttpClient _client;
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.9.1";
61-
private const string _sdkGenVersion = "2.338.5";
60+
private const string _sdkVersion = "5.9.2";
61+
private const string _sdkGenVersion = "2.338.12";
6262
private const string _openapiDocVersion = "0.4.0 .";
63-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
63+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
6464
private string _serverUrl = "";
6565
private ISpeakeasyHttpClient _client;
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.9.1";
64-
private const string _sdkGenVersion = "2.338.5";
63+
private const string _sdkVersion = "5.9.2";
64+
private const string _sdkGenVersion = "2.338.12";
6565
private const string _openapiDocVersion = "0.4.0 .";
66-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
66+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _client;
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.9.1";
60-
private const string _sdkGenVersion = "2.338.5";
59+
private const string _sdkVersion = "5.9.2";
60+
private const string _sdkGenVersion = "2.338.12";
6161
private const string _openapiDocVersion = "0.4.0 .";
62-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
62+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
6363
private string _serverUrl = "";
6464
private ISpeakeasyHttpClient _client;
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.9.1";
64-
private const string _sdkGenVersion = "2.338.5";
63+
private const string _sdkVersion = "5.9.2";
64+
private const string _sdkGenVersion = "2.338.12";
6565
private const string _openapiDocVersion = "0.4.0 .";
66-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
66+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _client;
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.9.1";
37-
private const string _sdkGenVersion = "2.338.5";
36+
private const string _sdkVersion = "5.9.2";
37+
private const string _sdkGenVersion = "2.338.12";
3838
private const string _openapiDocVersion = "0.4.0 .";
39-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
39+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
4040
private string _serverUrl = "";
4141
private ISpeakeasyHttpClient _client;
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.9.1";
55-
private const string _sdkGenVersion = "2.338.5";
54+
private const string _sdkVersion = "5.9.2";
55+
private const string _sdkGenVersion = "2.338.12";
5656
private const string _openapiDocVersion = "0.4.0 .";
57-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
57+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
5858
private string _serverUrl = "";
5959
private ISpeakeasyHttpClient _client;
6060
private Func<Security>? _securitySource;

SpeakeasySDK/Organizations.cs

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

SpeakeasySDK/Reports.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ public class Reports: IReports
5151
{
5252
public SDKConfig SDKConfiguration { get; private set; }
5353
private const string _language = "csharp";
54-
private const string _sdkVersion = "5.9.1";
55-
private const string _sdkGenVersion = "2.338.5";
54+
private const string _sdkVersion = "5.9.2";
55+
private const string _sdkGenVersion = "2.338.12";
5656
private const string _openapiDocVersion = "0.4.0 .";
57-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
57+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
5858
private string _serverUrl = "";
5959
private ISpeakeasyHttpClient _client;
6060
private Func<Security>? _securitySource;

SpeakeasySDK/Requests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ public class Requests: IRequests
6161
{
6262
public SDKConfig SDKConfiguration { get; private set; }
6363
private const string _language = "csharp";
64-
private const string _sdkVersion = "5.9.1";
65-
private const string _sdkGenVersion = "2.338.5";
64+
private const string _sdkVersion = "5.9.2";
65+
private const string _sdkGenVersion = "2.338.12";
6666
private const string _openapiDocVersion = "0.4.0 .";
67-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
67+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
6868
private string _serverUrl = "";
6969
private ISpeakeasyHttpClient _client;
7070
private Func<Security>? _securitySource;

SpeakeasySDK/Schemas.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ public class Schemas: ISchemas
9696
{
9797
public SDKConfig SDKConfiguration { get; private set; }
9898
private const string _language = "csharp";
99-
private const string _sdkVersion = "5.9.1";
100-
private const string _sdkGenVersion = "2.338.5";
99+
private const string _sdkVersion = "5.9.2";
100+
private const string _sdkGenVersion = "2.338.12";
101101
private const string _openapiDocVersion = "0.4.0 .";
102-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
102+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
103103
private string _serverUrl = "";
104104
private ISpeakeasyHttpClient _client;
105105
private Func<Security>? _securitySource;

SpeakeasySDK/Speakeasy.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ public class Speakeasy: ISpeakeasy
147147
public SDKConfig SDKConfiguration { get; private set; }
148148

149149
private const string _language = "csharp";
150-
private const string _sdkVersion = "5.9.1";
151-
private const string _sdkGenVersion = "2.338.5";
150+
private const string _sdkVersion = "5.9.2";
151+
private const string _sdkGenVersion = "2.338.12";
152152
private const string _openapiDocVersion = "0.4.0 .";
153-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
153+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
154154
private string _serverUrl = "";
155155
private SDKConfig.Server? _server = null;
156156
private ISpeakeasyHttpClient _client;

SpeakeasySDK/SpeakeasySDK.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<IsPackable>true</IsPackable>
44
<PackageId>SpeakeasySDK</PackageId>
5-
<Version>5.9.1</Version>
5+
<Version>5.9.2</Version>
66
<Authors>Speakeasy</Authors>
77
<TargetFramework>net5.0</TargetFramework>
88
<Nullable>enable</Nullable>

SpeakeasySDK/Suggest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public class Suggest: ISuggest
4545
{
4646
public SDKConfig SDKConfiguration { get; private set; }
4747
private const string _language = "csharp";
48-
private const string _sdkVersion = "5.9.1";
49-
private const string _sdkGenVersion = "2.338.5";
48+
private const string _sdkVersion = "5.9.2";
49+
private const string _sdkGenVersion = "2.338.12";
5050
private const string _openapiDocVersion = "0.4.0 .";
51-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.1 2.338.5 0.4.0 . SpeakeasySDK";
51+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.2 2.338.12 0.4.0 . SpeakeasySDK";
5252
private string _serverUrl = "";
5353
private ISpeakeasyHttpClient _client;
5454
private Func<Security>? _securitySource;

SpeakeasySDK/Utils/URLBuilder.cs

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace SpeakeasySDK.Utils
1717

1818
internal static class URLBuilder
1919
{
20-
public static string Build(string baseUrl, string path, object? request)
20+
public static string Build(string baseUrl, string relativeUrl, object? request)
2121
{
2222
var url = baseUrl;
2323

@@ -26,19 +26,28 @@ public static string Build(string baseUrl, string path, object? request)
2626
url = url.Substring(0, url.Length - 1);
2727
}
2828

29-
url += path;
29+
var pathAndFragment = relativeUrl.Split('#');
30+
if (pathAndFragment.Length > 2)
31+
{
32+
throw new ArgumentException($"Malformed URL: {relativeUrl}");
33+
}
3034

31-
var parameters = GetPathParameters(request);
35+
url += pathAndFragment[0];
3236

37+
var parameters = GetPathParameters(request);
3338
url = ReplaceParameters(url, parameters);
3439

3540
var queryParams = SerializeQueryParams(TrySerializeQueryParams(request));
36-
3741
if (queryParams != "")
3842
{
3943
url += $"?{queryParams}";
4044
}
4145

46+
if (pathAndFragment.Length == 2)
47+
{
48+
url += $"#{pathAndFragment[1]}";
49+
}
50+
4251
return url;
4352
}
4453

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
csharp:
13-
version: 5.9.1
13+
version: 5.9.2
1414
additionalDependencies: []
1515
author: Speakeasy
1616
clientServerStatusCodesAsErrors: true

0 commit comments

Comments
 (0)