RicoSuter/NSwag

Unable to generate contract output via CLI using .nswag file

Open

#1,190 opened on Feb 13, 2018

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C# (1,189 forks)batch import
help wantedtype: bug

Repository metrics

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

Description

Is it possible to generate contract output files targeting .NET using the CLI, and referencing a .nswag file?

Loading the .nswag file in NSwagStudio produces contract file output when Generate Files button is clicked.

Attempting to run the following via the CLI does not generate any file output:

dotnet "C:\Program Files (x86)\Rico Suter\NSwagStudio\NetCore20\dotnet-nswag.dll" run "C:\temp\nswag\test.nswag"

Thanks

Contributor guide