RicoSuter/NSwag

Angular typescript client generation support for DeepObject

Aperta

#1665 aperta il 12 ott 2018

 (2 commenti) (0 reazioni) (0 assegnatari)C# (1356 fork)batch import
help wantedproject: NSwag.CodeGeneration.TypeScripttype: bug

Metriche repository

Star
 (7358 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor