When using NSwag with my angular project, throws an error, when trying to send the data, if the object has an nested array of object as here:
export interface IJobAdDto {
mainJobAd: JobAddDetailsDto;
differentLanguageJobAds: JobAddDetailsDto[] | undefined;}
But if i instead "cast it" to a new object of the type it should already be, it works:
The question is, how do i get NSwag to make this change, or how can i extend this method/class so it will not overwrite it each time it is generated?
I have generated the client code from with NSwag(13.9.4.0).