- NSwag Documentation : https://github.com/RicoSuter/NSwag/
- Swagger Editor : https://editor.swagger.io/
Create new project with *.csproj
<Project Sdk="Microsoft.NET.Sdk">| # Force HTTPS | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine on | |
| RewriteCond %{HTTPS} !=on [NC] | |
| RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
| </IfModule> | |
| # Cache | |
| <IfModule mod_expires.c> | |
| ExpiresActive on |
| property debug : false | |
| on run | |
| tell application "Finder" | |
| try | |
| set this_folder to (the target of the front window) as alias | |
| on error | |
| set this_folder to startup disk | |
| end try | |
Create new project with *.csproj
<Project Sdk="Microsoft.NET.Sdk">