-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jonathan Casey <[email protected]>
- Loading branch information
1 parent
d4e7b58
commit 2f5b920
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; } | ||
|
@@ -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" | ||
|
@@ -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" | ||
|
@@ -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; } | ||
|
@@ -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]" | ||
|
@@ -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]" | ||
|