Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.147.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 19, 2024
1 parent 8c8266b commit 1348292
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 19 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ management:
docChecksum: 5e4ef027bc51f54368e8b1607b77c098
docVersion: 1.0.0
speakeasyVersion: internal
generationVersion: 2.225.2
releaseVersion: 0.7.0
configChecksum: d2b1de074685c0f57ee427f0c5271bb1
generationVersion: 2.237.2
releaseVersion: 0.7.1
configChecksum: a72fe7dd5674374e3de2b364ac25fe95
repoURL: https://github.com/ding-live/ding-csharp.git
repoSubDirectory: .
published: true
features:
csharp:
core: 3.3.0
core: 3.3.1
examples: 2.81.3
flattening: 2.81.1
globalSecurity: 2.81.2
globalSecurity: 2.81.3
globalServerURLs: 2.82.2
serverIDs: 2.82.0
generatedFiles:
Expand Down
6 changes: 3 additions & 3 deletions DingSDK/Ding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ public class Ding: IDing
public SDKConfig SDKConfiguration { get; private set; }

private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.225.2";
private const string _sdkVersion = "0.7.1";
private const string _sdkGenVersion = "2.237.2";
private const string _openapiDocVersion = "1.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.7.0 2.225.2 1.0.0 DingSDK";
private const string _userAgent = "speakeasy-sdk/csharp 0.7.1 2.237.2 1.0.0 DingSDK";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down
2 changes: 1 addition & 1 deletion DingSDK/DingSDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>DingSDK</PackageId>
<Version>0.7.0</Version>
<Version>0.7.1</Version>
<Authors>Ding</Authors>
<TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable>
Expand Down
6 changes: 3 additions & 3 deletions DingSDK/Lookup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ public class Lookup: ILookup
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.225.2";
private const string _sdkVersion = "0.7.1";
private const string _sdkGenVersion = "2.237.2";
private const string _openapiDocVersion = "1.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.7.0 2.225.2 1.0.0 DingSDK";
private const string _userAgent = "speakeasy-sdk/csharp 0.7.1 2.237.2 1.0.0 DingSDK";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down
1 change: 1 addition & 0 deletions DingSDK/Models/Components/Code.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,5 @@ public static Code ToEnum(this string value)
throw new Exception($"Unknown value {value} for enum Code");
}
}

}
1 change: 1 addition & 0 deletions DingSDK/Models/Components/CreateCheckResponseStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ public static CreateCheckResponseStatus ToEnum(this string value)
throw new Exception($"Unknown value {value} for enum CreateCheckResponseStatus");
}
}

}
1 change: 1 addition & 0 deletions DingSDK/Models/Components/DeviceType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ public static DeviceType ToEnum(this string value)
throw new Exception($"Unknown value {value} for enum DeviceType");
}
}

}
1 change: 1 addition & 0 deletions DingSDK/Models/Components/LineType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ public static LineType ToEnum(this string value)
throw new Exception($"Unknown value {value} for enum LineType");
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ public static RetryAuthenticationResponseStatus ToEnum(this string value)
throw new Exception($"Unknown value {value} for enum RetryAuthenticationResponseStatus");
}
}

}
1 change: 1 addition & 0 deletions DingSDK/Models/Components/Status.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ public static Status ToEnum(this string value)
throw new Exception($"Unknown value {value} for enum Status");
}
}

}
6 changes: 3 additions & 3 deletions DingSDK/Otp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ public class Otp: IOtp
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.225.2";
private const string _sdkVersion = "0.7.1";
private const string _sdkGenVersion = "2.237.2";
private const string _openapiDocVersion = "1.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.7.0 2.225.2 1.0.0 DingSDK";
private const string _userAgent = "speakeasy-sdk/csharp 0.7.1 2.237.2 1.0.0 DingSDK";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down
4 changes: 2 additions & 2 deletions DingSDK/Utils/SecuritySerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ object value
}
break;
case "openIdConnect":
client.AddHeader(valueMetadata.Name, Utilities.ValueToString(value));
client.AddHeader(valueMetadata.Name, Utilities.PrefixBearer(Utilities.ValueToString(value)));
break;
case "oauth2":
client.AddHeader(valueMetadata.Name, Utilities.ValueToString(value));
client.AddHeader(valueMetadata.Name, Utilities.PrefixBearer(Utilities.ValueToString(value)));
break;
case "http":
switch (schemeMetadata.SubType)
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,14 @@ Based on:
### Generated
- [csharp v0.7.0] .
### Releases
- [NuGet v0.7.0] https://www.nuget.org/packages/DingSDK/0.7.0 - .
- [NuGet v0.7.0] https://www.nuget.org/packages/DingSDK/0.7.0 - .

## 2024-01-19 00:17:20
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.7.1] .
### Releases
- [NuGet v0.7.1] https://www.nuget.org/packages/DingSDK/0.7.1 - .
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ generation:
fixes:
nameResolutionDec2023: false
csharp:
version: 0.7.0
version: 0.7.1
author: Ding
dotnetVersion: net5.0
imports:
Expand Down

0 comments on commit 1348292

Please sign in to comment.