Skip to content

Commit 17bb58a

Browse files
authored
Correct DataMember name for SwitchStatementDefinition.DefaultCondition.
Fixes #48.
1 parent 7e83961 commit 17bb58a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServerlessWorkflow.Sdk/Models/States/SwitchStateDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public virtual string SwitchType
6565
/// Gets/sets an object used to configure the <see cref="SwitchStateDefinition"/>'s default condition, in case none of the specified conditions were met
6666
/// </summary>
6767
[Required, MinLength(1)]
68-
[DataMember(Order = 9, Name = "name", IsRequired = true), JsonPropertyOrder(9), JsonPropertyName("name"), YamlMember(Alias = "name", Order = 9)]
68+
[DataMember(Order = 9, Name = "defaultCondition", IsRequired = true), JsonPropertyOrder(9), JsonPropertyName("defaultCondition"), YamlMember(Alias = "defaultCondition", Order = 9)]
6969
public virtual DefaultCaseDefinition DefaultCondition { get; set; } = null!;
7070

7171
/// <summary>

0 commit comments

Comments
 (0)