RicoSuter/NSwag

document variables do not support double quotes for file location?

Open

#1,298 opened on Apr 23, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (1,189 forks)batch import
help wantedproject: NSwag.Commandstype: bugtype: enhancement

Repository metrics

Stars
 (6,291 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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