title: Use Nswag Console (from NPM package) in order to generate C# client
body: <p>According to the official Nswag <a href="https://github.com/RicoSuter/NSwag/wiki/CommandLine" rel="nofollow noreferrer">command line docs</a> it is possible to use Nswag via NPM console package (and subsquently generate C# client using <code>openapi2cscontroller</code>):</p>
  
  <blockquote>
    <p>To use the command line tool nswag.exe (.NET 4.6+) / dotnet-nswag.dll
    (.NET Core), choose one of the following methods:</p>
    
    <ul>
    <li><p>NSwag NPM Module: Bindings for the .NET 4.6+ and .NET Core command
    line tools (depending on installed framework/OS platform)</p></li>
    <li><p>...</p></li>
    </ul>
  </blockquote>
  
  <p>Sadly, except for the link there is no further documentation in that matter. I have installed the package linked in the documentation (using <code>npm install nswag --save-dev</code>), it is however either broken or further undocumented steps are required: </p>
  
  <pre><code>&gt; nswag new
  &gt; nswag : The term 'nswag' is not recognized as the name of a cmdlet, function, script file, or operable program.
  </code></pre>