Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🐝 Update SDK - Generate #3

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: f1a8c321-72a7-41c5-8f5e-3d925aeafa1a
management:
docChecksum: 84d9628f4028269f1c229e162781733e
docChecksum: 2401c7030f847f72ab31c8f75de58a66
docVersion: 0.2.0
speakeasyVersion: 1.207.0
generationVersion: 2.280.6
releaseVersion: 0.0.4
configChecksum: 5da86c6676991c8592fec3a4abc3f05a
speakeasyVersion: 1.209.2
generationVersion: 2.281.2
releaseVersion: 0.0.5
configChecksum: c7a152833d9e5dc2db830a2c01ba95d8
repoURL: https://github.com/StyraInc/opa-csharp.git
features:
csharp:
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
csharp:
version: 0.0.4
version: 0.0.5
author: Styra
dotnetVersion: net6.0
flattenGlobalSecurity: true
Expand Down
2 changes: 1 addition & 1 deletion Api/Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>api</PackageId>
<Version>0.0.4</Version>
<Version>0.0.5</Version>
<Authors>Styra</Authors>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
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.0.4";
private const string _sdkGenVersion = "2.280.6";
private const string _sdkVersion = "0.0.5";
private const string _sdkGenVersion = "2.281.2";
private const string _openapiDocVersion = "0.2.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.0.4 2.280.6 0.2.0 api";
private const string _userAgent = "speakeasy-sdk/csharp 0.0.5 2.281.2 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 @@ -25,7 +25,7 @@ using Api.Models.Components;
var sdk = new Opa();

ExecutePolicyWithInputRequest req = new ExecutePolicyWithInputRequest() {
Path = "<value>",
Path = "app/rbac",
RequestBody = new ExecutePolicyWithInputRequestBody() {
Input = "<value>",
},
Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,12 @@ Based on:
- OpenAPI Doc
- Speakeasy CLI 1.207.0 (2.280.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.0.4] .
- [csharp v0.0.4] .

## 2024-03-13 21:03:43
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.209.2 (2.281.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.0.5] .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using Api.Models.Components;
var sdk = new Opa();

ExecutePolicyWithInputRequest req = new ExecutePolicyWithInputRequest() {
Path = "<value>",
Path = "app/rbac",
RequestBody = new ExecutePolicyWithInputRequestBody() {
Input = "<value>",
},
Expand Down
20 changes: 10 additions & 10 deletions docs/Models/Requests/ExecutePolicyRequest.md

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/Models/Requests/ExecutePolicyWithInputRequest.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/sdks/opa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ using Api.Models.Components;
var sdk = new Opa();

ExecutePolicyRequest req = new ExecutePolicyRequest() {
Path = "<value>",
Path = "app/rbac",
};

var res = await sdk.ExecutePolicyAsync(req);
Expand Down Expand Up @@ -59,7 +59,7 @@ using Api.Models.Components;
var sdk = new Opa();

ExecutePolicyWithInputRequest req = new ExecutePolicyWithInputRequest() {
Path = "<value>",
Path = "app/rbac",
RequestBody = new ExecutePolicyWithInputRequestBody() {
Input = "<value>",
},
Expand Down