From 470af1504dd3ddc556cc1f9b0ee527987a1dfbc5 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 13 Mar 2024 21:04:10 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.209.2 --- .speakeasy/gen.lock | 10 ++++---- .speakeasy/gen.yaml | 2 +- Api/Api.csproj | 2 +- Api/Opa.cs | 6 ++--- README.md | 2 +- RELEASES.md | 10 +++++++- USAGE.md | 2 +- docs/Models/Requests/ExecutePolicyRequest.md | 20 ++++++++-------- .../Requests/ExecutePolicyWithInputRequest.md | 24 +++++++++---------- docs/sdks/opa/README.md | 4 ++-- 10 files changed, 45 insertions(+), 37 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 7b83408..0076c83 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -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: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 9e2be33..d8b755e 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false csharp: - version: 0.0.4 + version: 0.0.5 author: Styra dotnetVersion: net6.0 flattenGlobalSecurity: true diff --git a/Api/Api.csproj b/Api/Api.csproj index df1a9ce..14509f6 100644 --- a/Api/Api.csproj +++ b/Api/Api.csproj @@ -2,7 +2,7 @@ true api - 0.0.4 + 0.0.5 Styra net6.0 enable diff --git a/Api/Opa.cs b/Api/Opa.cs index 0846908..6adeb0c 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.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; diff --git a/README.md b/README.md index 670c47a..d780694 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ using Api.Models.Components; var sdk = new Opa(); ExecutePolicyWithInputRequest req = new ExecutePolicyWithInputRequest() { - Path = "", + Path = "app/rbac", RequestBody = new ExecutePolicyWithInputRequestBody() { Input = "", }, diff --git a/RELEASES.md b/RELEASES.md index b574093..485d67e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -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] . \ No newline at end of file +- [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] . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index bb90fed..f2b464c 100644 --- a/USAGE.md +++ b/USAGE.md @@ -7,7 +7,7 @@ using Api.Models.Components; var sdk = new Opa(); ExecutePolicyWithInputRequest req = new ExecutePolicyWithInputRequest() { - Path = "", + Path = "app/rbac", RequestBody = new ExecutePolicyWithInputRequestBody() { Input = "", }, diff --git a/docs/Models/Requests/ExecutePolicyRequest.md b/docs/Models/Requests/ExecutePolicyRequest.md index 9bae1ea..e441dfa 100644 --- a/docs/Models/Requests/ExecutePolicyRequest.md +++ b/docs/Models/Requests/ExecutePolicyRequest.md @@ -3,13 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Path` | *string* | :heavy_check_mark: | The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404. | -| `AcceptEncoding` | [GzipAcceptEncoding](../../Models/Components/GzipAcceptEncoding.md) | :heavy_minus_sign: | Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above `server.encoding.gzip.min_length` value. See the configuration section | -| `Pretty` | *bool* | :heavy_minus_sign: | If parameter is `true`, response will formatted for humans. | -| `Provenance` | *bool* | :heavy_minus_sign: | If parameter is true, response will include build/version info in addition to the result. | -| `Explain` | [Explain](../../Models/Components/Explain.md) | :heavy_minus_sign: | Return query explanation in addition to result. | -| `Metrics` | *bool* | :heavy_minus_sign: | Return query performance metrics in addition to result. | -| `Instrument` | *bool* | :heavy_minus_sign: | Instrument query evaluation and return a superset of performance metrics in addition to result. | -| `StrictBuiltinErrors` | *bool* | :heavy_minus_sign: | Treat built-in function call errors as fatal and return an error immediately. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Path` | *string* | :heavy_check_mark: | The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404. | app/rbac | +| `AcceptEncoding` | [GzipAcceptEncoding](../../Models/Components/GzipAcceptEncoding.md) | :heavy_minus_sign: | Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above `server.encoding.gzip.min_length` value. See the configuration section | | +| `Pretty` | *bool* | :heavy_minus_sign: | If parameter is `true`, response will formatted for humans. | | +| `Provenance` | *bool* | :heavy_minus_sign: | If parameter is true, response will include build/version info in addition to the result. | | +| `Explain` | [Explain](../../Models/Components/Explain.md) | :heavy_minus_sign: | Return query explanation in addition to result. | | +| `Metrics` | *bool* | :heavy_minus_sign: | Return query performance metrics in addition to result. | | +| `Instrument` | *bool* | :heavy_minus_sign: | Instrument query evaluation and return a superset of performance metrics in addition to result. | | +| `StrictBuiltinErrors` | *bool* | :heavy_minus_sign: | Treat built-in function call errors as fatal and return an error immediately. | | \ No newline at end of file diff --git a/docs/Models/Requests/ExecutePolicyWithInputRequest.md b/docs/Models/Requests/ExecutePolicyWithInputRequest.md index 0e11466..1314b6f 100644 --- a/docs/Models/Requests/ExecutePolicyWithInputRequest.md +++ b/docs/Models/Requests/ExecutePolicyWithInputRequest.md @@ -3,15 +3,15 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Path` | *string* | :heavy_check_mark: | The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404. | -| `ContentEncoding` | [GzipContentEncoding](../../Models/Components/GzipContentEncoding.md) | :heavy_minus_sign: | Indicates that the request body is gzip encoded | -| `AcceptEncoding` | [GzipAcceptEncoding](../../Models/Components/GzipAcceptEncoding.md) | :heavy_minus_sign: | Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above `server.encoding.gzip.min_length` value. See the configuration section | -| `Pretty` | *bool* | :heavy_minus_sign: | If parameter is `true`, response will formatted for humans. | -| `Provenance` | *bool* | :heavy_minus_sign: | If parameter is true, response will include build/version info in addition to the result. | -| `Explain` | [Explain](../../Models/Components/Explain.md) | :heavy_minus_sign: | Return query explanation in addition to result. | -| `Metrics` | *bool* | :heavy_minus_sign: | Return query performance metrics in addition to result. | -| `Instrument` | *bool* | :heavy_minus_sign: | Instrument query evaluation and return a superset of performance metrics in addition to result. | -| `StrictBuiltinErrors` | *bool* | :heavy_minus_sign: | Treat built-in function call errors as fatal and return an error immediately. | -| `RequestBody` | [ExecutePolicyWithInputRequestBody](../../Models/Requests/ExecutePolicyWithInputRequestBody.md) | :heavy_check_mark: | The input document | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Path` | *string* | :heavy_check_mark: | The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404. | app/rbac | +| `ContentEncoding` | [GzipContentEncoding](../../Models/Components/GzipContentEncoding.md) | :heavy_minus_sign: | Indicates that the request body is gzip encoded | | +| `AcceptEncoding` | [GzipAcceptEncoding](../../Models/Components/GzipAcceptEncoding.md) | :heavy_minus_sign: | Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above `server.encoding.gzip.min_length` value. See the configuration section | | +| `Pretty` | *bool* | :heavy_minus_sign: | If parameter is `true`, response will formatted for humans. | | +| `Provenance` | *bool* | :heavy_minus_sign: | If parameter is true, response will include build/version info in addition to the result. | | +| `Explain` | [Explain](../../Models/Components/Explain.md) | :heavy_minus_sign: | Return query explanation in addition to result. | | +| `Metrics` | *bool* | :heavy_minus_sign: | Return query performance metrics in addition to result. | | +| `Instrument` | *bool* | :heavy_minus_sign: | Instrument query evaluation and return a superset of performance metrics in addition to result. | | +| `StrictBuiltinErrors` | *bool* | :heavy_minus_sign: | Treat built-in function call errors as fatal and return an error immediately. | | +| `RequestBody` | [ExecutePolicyWithInputRequestBody](../../Models/Requests/ExecutePolicyWithInputRequestBody.md) | :heavy_check_mark: | The input document | | \ No newline at end of file diff --git a/docs/sdks/opa/README.md b/docs/sdks/opa/README.md index 9503d73..5715fde 100644 --- a/docs/sdks/opa/README.md +++ b/docs/sdks/opa/README.md @@ -25,7 +25,7 @@ using Api.Models.Components; var sdk = new Opa(); ExecutePolicyRequest req = new ExecutePolicyRequest() { - Path = "", + Path = "app/rbac", }; var res = await sdk.ExecutePolicyAsync(req); @@ -59,7 +59,7 @@ using Api.Models.Components; var sdk = new Opa(); ExecutePolicyWithInputRequest req = new ExecutePolicyWithInputRequest() { - Path = "", + Path = "app/rbac", RequestBody = new ExecutePolicyWithInputRequestBody() { Input = "", },