From b6a9f945bfb52cace3e077c2e2e15ac86b8213c5 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 27 Mar 2024 21:16:53 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.228.1 --- .speakeasy/gen.lock | 12 ++++++------ .speakeasy/gen.yaml | 4 +++- Api/Api.csproj | 6 +++--- Api/Opa.cs | 6 +++--- README.md | 2 +- RELEASES.md | 10 +++++++++- USAGE.md | 2 +- docs/sdks/opa/README.md | 2 +- 8 files changed, 27 insertions(+), 17 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 4bf48be..49ccbde 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,14 +3,14 @@ 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 @@ -18,6 +18,7 @@ features: generatedFiles: - Api/Opa.cs - global.json + - Api.sln - Api/Utils/AnyDeserializer.cs - Api/Utils/BigIntStrConverter.cs - Api/Utils/DecimalStrConverter.cs @@ -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 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index ecdb11c..fb252c5 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -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: @@ -28,3 +29,4 @@ csharp: maxMethodParams: 4 outputModelSuffix: output packageName: api + product: "" diff --git a/Api/Api.csproj b/Api/Api.csproj index 698292d..fbc4f88 100644 --- a/Api/Api.csproj +++ b/Api/Api.csproj @@ -1,8 +1,8 @@ true - api - 0.1.1 + Api + 0.2.0 Styra net6.0 enable @@ -10,12 +10,12 @@ true 1591 https://github.com/StyraInc/opa-csharp - true + diff --git a/Api/Opa.cs b/Api/Opa.cs index 0878164..cf3ee06 100644 --- a/Api/Opa.cs +++ b/Api/Opa.cs @@ -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; diff --git a/README.md b/README.md index ce7aee2..60c42f8 100644 --- a/README.md +++ b/README.md @@ -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() { { "user", "alice" }, { "action", "read" }, diff --git a/RELEASES.md b/RELEASES.md index 9527c9a..9022f54 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -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] . \ No newline at end of file +- [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] . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index c9091ce..b912a11 100644 --- a/USAGE.md +++ b/USAGE.md @@ -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() { { "user", "alice" }, { "action", "read" }, diff --git a/docs/sdks/opa/README.md b/docs/sdks/opa/README.md index 5c4f791..b51ad77 100644 --- a/docs/sdks/opa/README.md +++ b/docs/sdks/opa/README.md @@ -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() { { "user", "alice" }, { "action", "read" },