Hi Team,
We have generated Squidex classes using NSWAG and providing open swagger json file. We have a problem in accessing the API’s through the class generated through NSWAG. We are getting exception with property “NewStatus” available in DTO’s which is auto generated.
[Newtonsoft.Json.JsonProperty(“newStatus”, Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
public string NewStatus { get; set; }
Please let us know what is the issue. Currently we have commented the “NewStatus” field in all DTO’s and executing.
Thanks,
Manjeera T