Skip to content

Commit 7bd32f0

Browse files
authored
Merge pull request #386 from serverlessworkflow/fix-operator-spec
Fix the Operator's RunnerDefinition by making its `Certificates` property optional
2 parents 777ef31 + 483a14f commit 7bd32f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/Synapse.Core/Resources/RunnerDefinition.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public record RunnerDefinition
4343
/// <summary>
4444
/// Gets/sets the endpoint that references the base address and authentication policy for the Synapse API used by runners
4545
/// </summary>
46-
[Required]
4746
[DataMember(Order = 3, Name = "certificates"), JsonPropertyOrder(3), JsonPropertyName("certificates"), YamlMember(Order = 3, Alias = "certificates")]
48-
public virtual CertificateValidationStrategyDefinition Certificates { get; set; } = null!;
47+
public virtual CertificateValidationStrategyDefinition? Certificates { get; set; }
4948

5049
}

0 commit comments

Comments
 (0)