Skip to content
Permalink
Browse files

v13.1.6

  • Loading branch information
RicoSuter committed Nov 22, 2019
1 parent ef1cd87 commit b3684d003f315e5bdbffa8d6bcb2480a16f765d3
Showing with 82 additions and 190 deletions.
  1. +0 −152 samples/WithoutMiddleware/Sample.AspNetCore20/nswag_project_swagger.json
  2. +1 −1 src/NSwag.Annotations/NSwag.Annotations.csproj
  3. +2 −2 src/NSwag.ApiDescription.Client/NSwag.ApiDescription.Client.nuspec
  4. +1 −1 src/NSwag.AspNet.Owin/NSwag.AspNet.Owin.csproj
  5. +1 −1 src/NSwag.AspNet.WebApi/NSwag.AspNet.WebApi.csproj
  6. +1 −1 src/NSwag.AspNetCore.Launcher.x86/NSwag.AspNetCore.Launcher.x86.csproj
  7. +1 −1 src/NSwag.AspNetCore.Launcher/NSwag.AspNetCore.Launcher.csproj
  8. +1 −1 src/NSwag.AspNetCore/NSwag.AspNetCore.csproj
  9. +1 −1 src/NSwag.AssemblyLoader/NSwag.AssemblyLoader.csproj
  10. +1 −1 src/NSwag.CodeGeneration.CSharp/NSwag.CodeGeneration.CSharp.csproj
  11. +1 −1 src/NSwag.CodeGeneration.TypeScript/NSwag.CodeGeneration.TypeScript.csproj
  12. +1 −1 src/NSwag.CodeGeneration/NSwag.CodeGeneration.csproj
  13. +1 −1 src/NSwag.Commands/NSwag.Commands.csproj
  14. +1 −1 src/NSwag.Console.x86/NSwag.Console.x86.csproj
  15. +1 −1 src/NSwag.Console/NSwag.Console.csproj
  16. +1 −1 src/NSwag.ConsoleCore/NSwag.ConsoleCore.csproj
  17. +1 −1 src/NSwag.Core.Yaml/NSwag.Core.Yaml.csproj
  18. +1 −1 src/NSwag.Core/NSwag.Core.csproj
  19. +1 −1 src/NSwag.Generation.AspNetCore/NSwag.Generation.AspNetCore.csproj
  20. +1 −1 src/NSwag.Generation.WebApi/NSwag.Generation.WebApi.csproj
  21. +1 −1 src/NSwag.Generation/NSwag.Generation.csproj
  22. +1 −1 src/NSwag.MSBuild/NSwag.MSBuild.nuspec
  23. +1 −1 src/NSwag.Npm/package.json
  24. +11 −1 src/NSwag.Sample.NETCore30/Controllers/ValuesController.cs
  25. +0 −8 src/NSwag.Sample.NETCore30/Program.cs
  26. +2 −2 src/NSwag.Sample.NETCore30/Properties/launchSettings.json
  27. +6 −1 src/NSwag.Sample.NETCore30/Startup.cs
  28. +38 −1 src/NSwag.Sample.NETCore30/openapi.json
  29. +1 −1 src/NSwagStudio.Chocolatey/NSwagStudio.nuspec
  30. +1 −1 src/NSwagStudio/Properties/AssemblyInfo.cs

This file was deleted.

@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.0;net45;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>NSwag.ApiDescription.Client</id>
<version>13.1.5</version>
<version>13.1.6</version>
<authors>Rico Suter</authors>
<owners>Rico Suter</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
@@ -16,7 +16,7 @@
<developmentDependency>true</developmentDependency>
<dependencies>
<dependency id="Microsoft.Extensions.ApiDescription.Client" version="3.0.0" />
<dependency id="NSwag.MSBuild" version="13.1.5" />
<dependency id="NSwag.MSBuild" version="13.1.6" />
</dependencies>
<references />
</metadata>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>net45</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>net45</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -4,7 +4,7 @@
<PlatformTarget>x86</PlatformTarget>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<Authors>Rico Suter</Authors>
<Company>Rico Suter</Company>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
@@ -4,7 +4,7 @@
<PlatformTarget Condition="'$(TargetFramework)'=='net461'">x64</PlatformTarget>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<Authors>Rico Suter</Authors>
<Company>Rico Suter</Company>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>net451;netstandard1.6;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>Swagger Documentation AspNetCore NetCore TypeScript CodeGen</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseUrl>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</PackageLicenseUrl>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.6;net451;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.3;net451;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.3;net451;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.3;net451;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netcoreapp1.0;netcoreapp1.1;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;net461</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -5,7 +5,7 @@
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseUrl>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</PackageLicenseUrl>
@@ -5,7 +5,7 @@
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseUrl>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</PackageLicenseUrl>
@@ -3,7 +3,7 @@
<TargetFrameworks>netcoreapp1.0;netcoreapp1.1;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.3;net45;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.0;net45;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.6;net451;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>Swagger Documentation AspNetCore</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.0;net45;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard1.0;net45;netstandard2.0</TargetFrameworks>
<Description>NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript</Description>
<Version>13.1.5</Version>
<Version>13.1.6</Version>
<PackageTags>OpenAPI Swagger AspNetCore Documentation CodeGen TypeScript WebApi AspNet</PackageTags>
<Copyright>Copyright © Rico Suter, 2019</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>NSwag.MSBuild</id>
<version>13.1.5</version>
<version>13.1.6</version>
<authors>Rico Suter</authors>
<owners>Rico Suter</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
@@ -1,6 +1,6 @@
{
"name": "nswag",
"version": "13.1.5",
"version": "13.1.6",
"optionalDependencies": {},
"repository": {
"type": "git",
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;

namespace NSwag.Sample.NETCore30.Controllers
@@ -14,6 +15,8 @@ public class Person
public string? MiddleName { get; set; }

public string LastName { get; set; }

public DateTime DayOfBirth { get; set; }
}

[HttpGet]
@@ -29,6 +32,13 @@ public ActionResult<string> Get(int id)
return "value";
}

// GET api/values/5
[HttpGet("{id}/foo")]
public ActionResult<string> GetFooBar(int id)
{
return "value";
}

// POST api/values
[HttpPost]
public void Post([FromBody] string value)

0 comments on commit b3684d0

Please sign in to comment.
You can’t perform that action at this time.