RicoSuter/NSwag

document variables do not support double quotes for file location?

Offen

#1.298 geöffnet am 23.04.2018

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.356 Forks)batch import
help wantedproject: NSwag.Commandstype: bugtype: enhancement

Repository-Metriken

Stars
 (7.358 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide