Skip to content

Commit

Permalink
[Generator] Move action/connector Description property to follow afte…
Browse files Browse the repository at this point in the history
…r Name property in output.
  • Loading branch information
mpaperno committed Nov 2, 2022
1 parent 7e3a3be commit 6c9edeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MSFSTouchPortalPlugin-Generator/Model/Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ class TouchPortalActionBase
[Required, MinLength(5)]
[JsonProperty(Order = -2)]
public string Name { get; set; }
[Required, MinLength(2)]
public string Format { get; set; }
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Description { get; set; }
[Required, MinLength(2)]
public string Format { get; set; }
public List<TouchPortalActionData> Data { get; set; } = new List<TouchPortalActionData>();
}

Expand Down

0 comments on commit 6c9edeb

Please sign in to comment.