Open JustinDDavis opened 1 year ago
Steps to produce my results:
class Parent { public List<ChildDefinition> AllDefinitions {get; set;} }
class ChildDefinition { public Dictionary<string, ExtraInformation> Details {get; set;} }
class ExtraInformation { public string Detail1 {get; set;} public string Detail2 {get; set;} }
3. The results look like:
{ "type": "object", "properties": { "AllDefinitions": { "type": "array", "items": { "type": "object", "properties": { "Details": { "type": "object", "additionalProperties": { "type": "object", "properties": { "Detail1": { "type": "string" }, "Detail2": { "type": "string" } } } } } } } } }
I would expect some way to identify the type of the key used with "Details". I went through what documentation I could to see if there is a callout to this type of situation, but I couldn't find anything myself. Thank you!
Steps to produce my results:
class ChildDefinition { public Dictionary<string, ExtraInformation> Details {get; set;} }
class ExtraInformation { public string Detail1 {get; set;} public string Detail2 {get; set;} }
{ "type": "object", "properties": { "AllDefinitions": { "type": "array", "items": { "type": "object", "properties": { "Details": { "type": "object", "additionalProperties": { "type": "object", "properties": { "Detail1": { "type": "string" }, "Detail2": { "type": "string" } } } } } } } } }