Skip to content

Commit f835227

Browse files
committed
fix(Sdk): Fixed the AsyncApiCallDefinition, which was regarding channel and operation as required properties
Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
1 parent b0b1e2a commit f835227

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/ServerlessWorkflow.Sdk.Builders/ServerlessWorkflow.Sdk.Builders.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<VersionPrefix>1.0.0</VersionPrefix>
8-
<VersionSuffix>alpha6.1</VersionSuffix>
8+
<VersionSuffix>alpha6.2</VersionSuffix>
99
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
1010
<FileVersion>$(VersionPrefix)</FileVersion>
1111
<NeutralLanguage>en</NeutralLanguage>

src/ServerlessWorkflow.Sdk.IO/ServerlessWorkflow.Sdk.IO.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<VersionPrefix>1.0.0</VersionPrefix>
8-
<VersionSuffix>alpha6.1</VersionSuffix>
8+
<VersionSuffix>alpha6.2</VersionSuffix>
99
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
1010
<FileVersion>$(VersionPrefix)</FileVersion>
1111
<NeutralLanguage>en</NeutralLanguage>

src/ServerlessWorkflow.Sdk/Models/Calls/AsyncApiCallDefinition.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ public record AsyncApiCallDefinition
3333
/// Used only in case the referenced document uses AsyncAPI v2.6.0
3434
/// </summary>
3535
[DataMember(Name = "channel", Order = 2), JsonPropertyName("channel"), JsonPropertyOrder(2), JsonInclude, YamlMember(Alias = "channel", Order = 2)]
36-
public required virtual string? Channel { get; set; }
36+
public virtual string? Channel { get; set; }
3737

3838
/// <summary>
3939
/// Gets/sets a reference to the AsyncAPI operation to call.<para></para>
4040
/// Used only in case the referenced document uses AsyncAPI v3.0.0.
4141
/// </summary>
4242
[DataMember(Name = "operation", Order = 3), JsonPropertyName("operation"), JsonPropertyOrder(3), JsonInclude, YamlMember(Alias = "operation", Order = 3)]
43-
public required virtual string? Operation { get; set; }
43+
public virtual string? Operation { get; set; }
4444

4545
/// <summary>
4646
/// Gets/sets a object used to configure to the server to call the specified AsyncAPI operation on.<para></para>

src/ServerlessWorkflow.Sdk/ServerlessWorkflow.Sdk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<VersionPrefix>1.0.0</VersionPrefix>
8-
<VersionSuffix>alpha6.1</VersionSuffix>
8+
<VersionSuffix>alpha6.2</VersionSuffix>
99
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
1010
<FileVersion>$(VersionPrefix)</FileVersion>
1111
<NeutralLanguage>en</NeutralLanguage>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy