Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.228.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Mar 27, 2024
1 parent 472f9c1 commit b6a9f94
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@ id: f1a8c321-72a7-41c5-8f5e-3d925aeafa1a
management:
docChecksum: 2401c7030f847f72ab31c8f75de58a66
docVersion: 0.2.0
speakeasyVersion: 1.227.0
generationVersion: 2.291.0
releaseVersion: 0.1.1
configChecksum: cf7f772784da84b4987084bd63356eed
speakeasyVersion: 1.228.1
generationVersion: 2.292.0
releaseVersion: 0.2.0
configChecksum: 0533e466bb5ff158a6d254f0b245f86d
repoURL: https://github.com/StyraInc/opa-csharp.git
features:
csharp:
core: 3.4.3
core: 3.5.0
examples: 2.81.3
flattening: 2.81.1
globalServerURLs: 2.82.3
unions: 0.0.2
generatedFiles:
- Api/Opa.cs
- global.json
- Api.sln
- Api/Utils/AnyDeserializer.cs
- Api/Utils/BigIntStrConverter.cs
- Api/Utils/DecimalStrConverter.cs
Expand All @@ -32,7 +33,6 @@ generatedFiles:
- Api/Utils/URLBuilder.cs
- Api/Utils/Utilities.cs
- Api/Api.csproj
- Api.sln
- Api/Models/Requests/ExecutePolicyRequest.cs
- Api/Models/Requests/ExecutePolicyResponse.cs
- Api/Models/Requests/ExecutePolicyWithInputRequestBody.cs
Expand Down
4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
csharp:
version: 0.1.1
version: 0.2.0
author: Styra
company: ""
dotnetVersion: net6.0
flattenGlobalSecurity: true
imports:
Expand All @@ -28,3 +29,4 @@ csharp:
maxMethodParams: 4
outputModelSuffix: output
packageName: api
product: ""
6 changes: 3 additions & 3 deletions Api/Api.csproj
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>api</PackageId>
<Version>0.1.1</Version>
<PackageId>Api</PackageId>
<Version>0.2.0</Version>
<Authors>Styra</Authors>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>1591</NoWarn>
<RepositoryUrl>https://github.com/StyraInc/opa-csharp</RepositoryUrl>
<EnableDefaultCompileItems>true</EnableDefaultCompileItems>
</PropertyGroup>

<ItemGroup>
<None Include="../README.md" Pack="true" PackagePath="/"/>
<None Include="../docs/*" Pack="true" PackagePath="/docs"/>

<PackageReference Include="newtonsoft.json" Version="13.0.3" />
<PackageReference Include="nodatime" Version="3.1.9" />
</ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions Api/Opa.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ public class Opa: IOpa
public SDKConfig SDKConfiguration { get; private set; }

private const string _language = "csharp";
private const string _sdkVersion = "0.1.1";
private const string _sdkGenVersion = "2.291.0";
private const string _sdkVersion = "0.2.0";
private const string _sdkGenVersion = "2.292.0";
private const string _openapiDocVersion = "0.2.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.1 2.291.0 0.2.0 api";
private const string _userAgent = "speakeasy-sdk/csharp 0.2.0 2.292.0 0.2.0 Api";
private string _serverUrl = "";
private int _serverIndex = 0;
private ISpeakeasyHttpClient _defaultClient;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var sdk = new Opa();
ExecutePolicyWithInputRequest req = new ExecutePolicyWithInputRequest() {
Path = "app/rbac",
RequestBody = new ExecutePolicyWithInputRequestBody() {
Input = Components.CreateInputMapOfany(
Input = Input.CreateInputMapOfany(
new Dictionary<string, object>() {
{ "user", "alice" },
{ "action", "read" },
Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,12 @@ Based on:
- OpenAPI Doc
- Speakeasy CLI 1.227.0 (2.291.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.1.1] .
- [csharp v0.1.1] .

## 2024-03-27 21:16:30
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.228.1 (2.292.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.2.0] .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var sdk = new Opa();
ExecutePolicyWithInputRequest req = new ExecutePolicyWithInputRequest() {
Path = "app/rbac",
RequestBody = new ExecutePolicyWithInputRequestBody() {
Input = Components.CreateInputMapOfany(
Input = Input.CreateInputMapOfany(
new Dictionary<string, object>() {
{ "user", "alice" },
{ "action", "read" },
Expand Down
2 changes: 1 addition & 1 deletion docs/sdks/opa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var sdk = new Opa();
ExecutePolicyWithInputRequest req = new ExecutePolicyWithInputRequest() {
Path = "app/rbac",
RequestBody = new ExecutePolicyWithInputRequestBody() {
Input = Components.CreateInputMapOfany(
Input = Input.CreateInputMapOfany(
new Dictionary<string, object>() {
{ "user", "alice" },
{ "action", "read" },
Expand Down

0 comments on commit b6a9f94

Please sign in to comment.