Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.257.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Apr 18, 2024
1 parent 6b4f1ee commit eeb1364
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ id: f1a8c321-72a7-41c5-8f5e-3d925aeafa1a
management:
docChecksum: 2401c7030f847f72ab31c8f75de58a66
docVersion: 0.2.0
speakeasyVersion: 1.252.0
generationVersion: 2.306.0
releaseVersion: 0.5.0
configChecksum: 283c252204dd78c7e50e267e525b3fab
speakeasyVersion: 1.257.1
generationVersion: 2.308.2
releaseVersion: 0.6.0
configChecksum: 4c4aa1619dbdf97bfdc4c59ad3152678
repoURL: https://github.com/StyraInc/opa-csharp.git
features:
csharp:
constsAndDefaults: 0.0.1
core: 3.7.0
examples: 2.81.3
flattening: 2.81.1
Expand All @@ -19,7 +20,6 @@ features:
generatedFiles:
- Styra/OpenApi/OpaApiClient.cs
- global.json
- Styra.OpenApi.sln
- Styra/OpenApi/Utils/AnyDeserializer.cs
- Styra/OpenApi/Utils/BigIntStrConverter.cs
- Styra/OpenApi/Utils/DecimalStrConverter.cs
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.5.0
version: 0.6.0
author: Styra
clientServerStatusCodesAsErrors: true
company: Styra
Expand Down
18 changes: 18 additions & 0 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
speakeasyVersion: 1.257.1
sources:
openapi: {}
targets:
first-target:
source: openapi
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
openapi:
inputs:
- location: https://raw.githubusercontent.com/StyraInc/enterprise-opa/main/openapi/openapi.yaml
targets:
first-target:
target: csharp
source: openapi
1 change: 1 addition & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
openapi:
inputs:
Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,12 @@ Based on:
- OpenAPI Doc
- Speakeasy CLI 1.231.1 (2.295.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.3.0] .
- [csharp v0.3.0] .

## 2024-04-18 00:03:24
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.257.1 (2.308.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.6.0] .
2 changes: 1 addition & 1 deletion Styra/OpenApi/Models/Requests/ExecutePolicyRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ExecutePolicyRequest
/// 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.
/// </summary>
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=path")]
public string Path { get; set; } = default!;
public string Path { get; set; } = "";

/// <summary>
/// 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ExecutePolicyWithInputRequest
/// 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.
/// </summary>
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=path")]
public string Path { get; set; } = default!;
public string Path { get; set; } = "";

/// <summary>
/// Indicates that the request body is gzip encoded
Expand Down
4 changes: 2 additions & 2 deletions Styra/OpenApi/Models/Requests/HealthRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ public class HealthRequest
/// Boolean parameter to account for bundle activation status in response. This includes any discovery bundles or bundles defined in the loaded discovery configuration.
/// </summary>
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=bundles")]
public bool? Bundles { get; set; }
public bool? Bundles { get; set; } = false;

/// <summary>
/// Boolean parameter to account for plugin status in response.
/// </summary>
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=plugins")]
public bool? Plugins { get; set; }
public bool? Plugins { get; set; } = false;

/// <summary>
/// String parameter to exclude a plugin from status checks. Can be added multiple times. Does nothing if plugins is not true. This parameter is useful for special use cases where a plugin depends on the server being fully initialized before it can fully initialize itself.
Expand Down
6 changes: 3 additions & 3 deletions Styra/OpenApi/OpaApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ public class OpaApiClient: IOpaApiClient
public SDKConfig SDKConfiguration { get; private set; }

private const string _language = "csharp";
private const string _sdkVersion = "0.5.0";
private const string _sdkGenVersion = "2.306.0";
private const string _sdkVersion = "0.6.0";
private const string _sdkGenVersion = "2.308.2";
private const string _openapiDocVersion = "0.2.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.5.0 2.306.0 0.2.0 Styra.OpenApi";
private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.308.2 0.2.0 Styra.OpenApi";
private string _serverUrl = "";
private int _serverIndex = 0;
private ISpeakeasyHttpClient _defaultClient;
Expand Down
2 changes: 1 addition & 1 deletion Styra/OpenApi/Styra.OpenApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Styra.OpenApi</PackageId>
<Version>0.5.0</Version>
<Version>0.6.0</Version>
<Authors>Styra</Authors>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit eeb1364

Please sign in to comment.