C# generator not creates properties with types Dictionary<>.
How to Reproduce
next file need to be generated from yml async api definition:
public class Node
{
public string Type { get; set; }
public Guid NodeId { get; set; }
public int NodeNumber { get; set; }
public string NodeData { get; set; }
public Dictionary<string, object> Instructions { get; set; }
}
Expected behavior
expected a way to define in asyncapi schema the type like map/dictionary with key and value types. and add support to c# generator to generate model as attached above
Describe the bug
C# generator not creates properties with types Dictionary<>.
How to Reproduce
next file need to be generated from yml async api definition:
public class Node { public string Type { get; set; } public Guid NodeId { get; set; } public int NodeNumber { get; set; } public string NodeData { get; set; } public Dictionary<string, object> Instructions { get; set; } }
Expected behavior
expected a way to define in asyncapi schema the type like map/dictionary with key and value types. and add support to c# generator to generate model as attached above