RicoSuter/NSwag

Angular typescript client generation support for DeepObject

Open

#1665 opened on Oct 12, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (6,291 stars) (1,189 forks)batch import
help wantedproject: NSwag.CodeGeneration.TypeScripttype: bug

Description

I think the section from /src/NSwag.CodeGeneration.CSharp/Templates/Client.Class.QueryParameter.liquid

{% elseif parameter.IsDeepObject -%}

must also be added to the typescript version in /src/NSwag.CodeGeneration.TypeScript/Templates/Client.RequestUrl.liquid for correct DeepObject suppor.

Contributor guide