You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just I'm trying to generate HttpClient generated file by NSwag from my API controller.
I have this marked row in my API controller:
But it generates here wrong return type:
I would expect this: System.Threading.Tasks.Task<PageData<IEnumerable<ContractDto>>>GetContractAsync();
Please, could you give an advice, how can I solve it?
Thank you
The text was updated successfully, but these errors were encountered:
salahhus
changed the title
NSwag auto generate client: Generates return data type function wrong.
NSwag auto generate client: Generates return object type function wrong.
Jun 27, 2024
salahhus
changed the title
NSwag auto generate client: Generates return object type function wrong.
NSwag auto generate client: Generates function return object type wrong.
Jun 28, 2024
Hi NSwag team,
Just I'm trying to generate HttpClient generated file by NSwag from my API controller.
I have this marked row in my API controller:
But it generates here wrong return type:
I would expect this:
System.Threading.Tasks.Task<PageData<IEnumerable<ContractDto>>>GetContractAsync();
Please, could you give an advice, how can I solve it?
Thank you
The text was updated successfully, but these errors were encountered: