Skip to content

Commit fdb12ea

Browse files
committed
ci: regenerated with OpenAPI Doc 0.1.0, Speakeasy CLI 1.119.1
1 parent d12cf86 commit fdb12ea

File tree

5,369 files changed

+1691
-934
lines changed

Some content is hidden

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

5,369 files changed

+1691
-934
lines changed

RELEASES.md

Lines changed: 18 additions & 1 deletion

csharp-client-sdk/.gitattributes

100755100644
File mode changed.

csharp-client-sdk/Openapi.sln

100755100644
File mode changed.

csharp-client-sdk/Openapi/Auth.cs

100755100644
Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public interface IAuth
2828
Task<BasicAuthResponse> BasicAuthAsync(BasicAuthSecurity security, string passwd, string user);
2929
Task<BearerAuthResponse> BearerAuthAsync(BearerAuthSecurity security);
3030
Task<GlobalBearerAuthResponse> GlobalBearerAuthAsync();
31+
Task<NoAuthResponse> NoAuthAsync();
3132
Task<Oauth2AuthResponse> Oauth2AuthAsync(Oauth2AuthSecurity security);
3233
Task<Oauth2OverrideResponse> Oauth2OverrideAsync(Oauth2OverrideSecurity security);
3334
Task<OpenIdConnectAuthResponse> OpenIdConnectAuthAsync(OpenIdConnectAuthSecurity security);
@@ -40,10 +41,10 @@ public class Auth: IAuth
4041
{
4142
public SDKConfig Config { get; private set; }
4243
private const string _language = "csharp";
43-
private const string _sdkVersion = "0.3.0";
44-
private const string _sdkGenVersion = "2.185.0";
44+
private const string _sdkVersion = "0.3.1";
45+
private const string _sdkGenVersion = "2.188.3";
4546
private const string _openapiDocVersion = "0.1.0";
46-
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.185.0 0.1.0 openapi";
47+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.188.3 0.1.0 openapi";
4748
private string _serverUrl = "";
4849
private ISpeakeasyHttpClient _defaultClient;
4950
private ISpeakeasyHttpClient _securityClient;
@@ -287,6 +288,42 @@ public async Task<GlobalBearerAuthResponse> GlobalBearerAuthAsync()
287288
}
288289

289290

291+
public async Task<NoAuthResponse> NoAuthAsync()
292+
{
293+
string baseUrl = _serverUrl;
294+
if (baseUrl.EndsWith("/"))
295+
{
296+
baseUrl = baseUrl.Substring(0, baseUrl.Length - 1);
297+
}
298+
var urlString = baseUrl + "/anything/no-auth";
299+
300+
301+
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
302+
httpRequest.Headers.Add("x-speakeasy-user-agent", _userAgent);
303+
304+
305+
var client = _securityClient;
306+
307+
var httpResponse = await client.SendAsync(httpRequest);
308+
309+
var contentType = httpResponse.Content.Headers.ContentType?.MediaType;
310+
311+
var response = new NoAuthResponse
312+
{
313+
StatusCode = (int)httpResponse.StatusCode,
314+
ContentType = contentType,
315+
RawResponse = httpResponse
316+
};
317+
318+
if((response.StatusCode == 200))
319+
{
320+
321+
return response;
322+
}
323+
return response;
324+
}
325+
326+
290327
public async Task<Oauth2AuthResponse> Oauth2AuthAsync(Oauth2AuthSecurity security)
291328
{
292329
string baseUrl = _serverUrl;

csharp-client-sdk/Openapi/AuthNew.cs

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ public class AuthNew: IAuthNew
121121

122122
public SDKConfig Config { get; private set; }
123123
private const string _language = "csharp";
124-
private const string _sdkVersion = "0.3.0";
125-
private const string _sdkGenVersion = "2.185.0";
124+
private const string _sdkVersion = "0.3.1";
125+
private const string _sdkGenVersion = "2.188.3";
126126
private const string _openapiDocVersion = "0.1.0";
127-
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.185.0 0.1.0 openapi";
127+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.188.3 0.1.0 openapi";
128128
private string _serverUrl = "";
129129
private ISpeakeasyHttpClient _defaultClient;
130130
private ISpeakeasyHttpClient _securityClient;

csharp-client-sdk/Openapi/Documentation.cs

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public class Documentation: IDocumentation
3636
{
3737
public SDKConfig Config { get; private set; }
3838
private const string _language = "csharp";
39-
private const string _sdkVersion = "0.3.0";
40-
private const string _sdkGenVersion = "2.185.0";
39+
private const string _sdkVersion = "0.3.1";
40+
private const string _sdkGenVersion = "2.188.3";
4141
private const string _openapiDocVersion = "0.1.0";
42-
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.185.0 0.1.0 openapi";
42+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.188.3 0.1.0 openapi";
4343
private string _serverUrl = "";
4444
private ISpeakeasyHttpClient _defaultClient;
4545
private ISpeakeasyHttpClient _securityClient;

csharp-client-sdk/Openapi/Errors.cs

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ public class Errors: IErrors
5151

5252
public SDKConfig Config { get; private set; }
5353
private const string _language = "csharp";
54-
private const string _sdkVersion = "0.3.0";
55-
private const string _sdkGenVersion = "2.185.0";
54+
private const string _sdkVersion = "0.3.1";
55+
private const string _sdkGenVersion = "2.188.3";
5656
private const string _openapiDocVersion = "0.1.0";
57-
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.185.0 0.1.0 openapi";
57+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.188.3 0.1.0 openapi";
5858
private string _serverUrl = "";
5959
private ISpeakeasyHttpClient _defaultClient;
6060
private ISpeakeasyHttpClient _securityClient;

csharp-client-sdk/Openapi/First.cs

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ public class First: IFirst
2525
{
2626
public SDKConfig Config { get; private set; }
2727
private const string _language = "csharp";
28-
private const string _sdkVersion = "0.3.0";
29-
private const string _sdkGenVersion = "2.185.0";
28+
private const string _sdkVersion = "0.3.1";
29+
private const string _sdkGenVersion = "2.188.3";
3030
private const string _openapiDocVersion = "0.1.0";
31-
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.185.0 0.1.0 openapi";
31+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.188.3 0.1.0 openapi";
3232
private string _serverUrl = "";
3333
private ISpeakeasyHttpClient _defaultClient;
3434
private ISpeakeasyHttpClient _securityClient;

csharp-client-sdk/Openapi/Flattening.cs

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ public class Flattening: IFlattening
3838
{
3939
public SDKConfig Config { get; private set; }
4040
private const string _language = "csharp";
41-
private const string _sdkVersion = "0.3.0";
42-
private const string _sdkGenVersion = "2.185.0";
41+
private const string _sdkVersion = "0.3.1";
42+
private const string _sdkGenVersion = "2.188.3";
4343
private const string _openapiDocVersion = "0.1.0";
44-
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.185.0 0.1.0 openapi";
44+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.188.3 0.1.0 openapi";
4545
private string _serverUrl = "";
4646
private ISpeakeasyHttpClient _defaultClient;
4747
private ISpeakeasyHttpClient _securityClient;

csharp-client-sdk/Openapi/Generation.cs

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ public class Generation: IGeneration
7070
{
7171
public SDKConfig Config { get; private set; }
7272
private const string _language = "csharp";
73-
private const string _sdkVersion = "0.3.0";
74-
private const string _sdkGenVersion = "2.185.0";
73+
private const string _sdkVersion = "0.3.1";
74+
private const string _sdkGenVersion = "2.188.3";
7575
private const string _openapiDocVersion = "0.1.0";
76-
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.185.0 0.1.0 openapi";
76+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.188.3 0.1.0 openapi";
7777
private string _serverUrl = "";
7878
private ISpeakeasyHttpClient _defaultClient;
7979
private ISpeakeasyHttpClient _securityClient;

0 commit comments

Comments
 (0)