RicoSuter/NSwag

document variables do not support double quotes for file location?

Aperta

#1298 aperta il 23 apr 2018

 (2 commenti) (0 reazioni) (0 assegnatari)C# (1356 fork)batch import
help wantedproject: NSwag.Commandstype: bugtype: enhancement

Metriche repository

Star
 (7358 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Specify the output location with a document variable and using double quotes, does not seem to work.

I tried

$(NSwagExe_Core20) run "$(ProjectDir)swagger.nswag" /output:"$(SolutionDir)\Clients\MyClient\WebApiClient.cs"

and I tried

$(NSwagExe_Core20) run "$(ProjectDir)swagger.nswag" /variables:output="$(SolutionDir)\Clients\MyClient\WebApiClient.cs"

Also wonder, are both commands the correct way of doing this?

Thanks, R.

Guida contributor