Hello, I have a DTO class that references an array of objects of the same type such as the one below:
public class MyDto {
public MyDto[] Children { get; set; }
}
For some reason, it causes the JSON, XML, etc. metadata links to hang for every operation. However, when I change the type to List<MyDto> it works fine. Any idea why the behaviour is different?
The JSON, XML, JSV and CSV links fail (hang) for all operations regardless of whether the operation references the problematic DTO or not. “/operations/metadata” link works fine.
As a workaround, I’ve changed all my array types to List and haven’t experienced any issues.