Skip to content

Commit

Permalink
test(*): update snapshot
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Casey <[email protected]>
  • Loading branch information
jonathan-casey committed Nov 10, 2023
1 parent d4e7b58 commit 2f5b920
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions test/codegen/__snapshots__/codegen.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ using AccordProject.Concerto;
public class Company : Concept {
[System.Text.Json.Serialization.JsonPropertyName("$class")]
public override string _class { get; } = "org.acme.hr.Company";
[System.ComponentModel.DataAnnotations.RegularExpression(@"abc.*", ErrorMessage = "Invalid characters")]
public string name { get; set; }
public org.acme.hr.base.Address headquarters { get; set; }
public Dictionary<string, string> companyProperties { get; set; }
Expand Down Expand Up @@ -1684,7 +1685,8 @@ exports[`codegen #formats check we can convert all formats from namespace unvers
"description": "The class identifier for org.acme.hr.Company"
},
"name": {
"type": "string"
"type": "string",
"pattern": "abc.*"
},
"headquarters": {
"$ref": "#/definitions/org.acme.hr.base.Address"
Expand Down Expand Up @@ -2932,7 +2934,8 @@ exports[`codegen #formats check we can convert all formats from namespace unvers
"description": "The class identifier for org.acme.hr.Company"
},
"name": {
"type": "string"
"type": "string",
"pattern": "abc.*"
},
"headquarters": {
"$ref": "#/components/schemas/org.acme.hr.base.Address"
Expand Down Expand Up @@ -6186,6 +6189,7 @@ using AccordProject.Concerto;
public class Company : Concept {
[System.Text.Json.Serialization.JsonPropertyName("$class")]
public override string _class { get; } = "[email protected]";
[System.ComponentModel.DataAnnotations.RegularExpression(@"abc.*", ErrorMessage = "Invalid characters")]
public string name { get; set; }
public org.acme.hr.base.Address headquarters { get; set; }
public Dictionary<string, string> companyProperties { get; set; }
Expand Down Expand Up @@ -7494,7 +7498,8 @@ exports[`codegen #formats check we can convert all formats from namespace versio
"description": "The class identifier for [email protected]"
},
"name": {
"type": "string"
"type": "string",
"pattern": "abc.*"
},
"headquarters": {
"$ref": "#/definitions/[email protected]"
Expand Down Expand Up @@ -8758,7 +8763,8 @@ exports[`codegen #formats check we can convert all formats from namespace versio
"description": "The class identifier for [email protected]"
},
"name": {
"type": "string"
"type": "string",
"pattern": "abc.*"
},
"headquarters": {
"$ref": "#/components/schemas/[email protected]"
Expand Down

0 comments on commit 2f5b920

Please sign in to comment.