Bug report [Model generation from Swagger]

When a class has as property another class (e.g.: ClientDto has an AfiiliateDto), then code generation produces a dynamic property instead of a strongly typed property (in this example an AffiliateDto). This produces ERROS in compilation at the g pages (the code generated pages from Visual Studio).

Code:

        [JsonPropertyName("ReferredByAffiliate")]
        public dynamic ReferredByAffiliate
        {
            get;
            set;
        }

while the json produced by Radzen shows:

        "ReferredByAffiliate": {
          "allOf": [
            {
              "$ref": "#/definitions/AffiliateDto"
            }
          ],
          "x-nullable": true
        },

Here is the error:

Indeed such definition is not supported. You can try the following:

        "ReferredByAffiliate": {
          "type": "object",
          "$ref": "#/definitions/AffiliateDto"
        },