Skip to content

Releases: RicoSuter/NSwag

NSwag v14.0.0

03 Jan 15:58
Compare
Choose a tag to compare

See #4524

NSwag v14

Breaking changes

  • NJsonSchema generator settings moved from being directly on the generator settings to the "SchemaSettings" property.
  • nswag.json now only supports .csproj based specification generation (reflection/assembly based removed, only aspnetcore2openapi)
  • Now only supports .NET Standard 2.0, .NET 4.6.2, .NET Core 3.1, .NET 5, .NET 7 and up
  • Requires latest Newtonsoft.Json v13.0.0.3
  • Removed many deprecated properties, settings and methods (marked a long time as obsolete)
  • Removed WebApiToOpenApiCommand:
    • Use the WebApiOpenApiDocumentGenerator to build your own CLI referencing controllers project to generate OpenAPI without starting the app
  • Renamed UseSwaggerUi3 to UseSwaggerUi (v2 has been removed)

NJsonSchema v11

Breaking changes

  • All Newtonsoft.Json based generators, converters (e.g. JsonInheritance) moved to NJsonSchema.NewtonsoftJson; NJsonSchema contains the converters for System.Text.Json
  • Requires latest Newtonsoft.Json v13.0.0.3
  • Now only supports .NET Standard 2.0, .NET 4.6.2 and up
  • Updated to latest Namotion.Reflection v3
  • Breaking change in IJsonExtensionObject interface (now supports multiple data tuples)

Other changes:

  • Add support for STJ-native inheritance schema generation (JsonDerivedType, JsonPolymorphic)
  • Many more smaller improvements and fixes (see git history)

NSwag v14.0.0-preview013 (RC4)

19 Dec 17:34
Compare
Choose a tag to compare
Pre-release
Add SchemaGeneratorFactory property to OpenApiDocumentGeneratorSettin…

NSwag v14.0.0-preview012 (RC3)

08 Dec 16:09
Compare
Choose a tag to compare
Pre-release

Breaking Changes:

  • Renamed UseSwaggerUi3 to UseSwaggerUi (v2 has been removed)
  • Assembly loader has been removed (used csproj loading instead, for Web API you'd need to build your own CLI)

NSwag v14.0.0-preview011 (RC2)

08 Dec 13:02
Compare
Choose a tag to compare
Pre-release
Update NJS

NSwag v14.0.0-preview010 (RC1)

15 Nov 23:08
5785968
Compare
Choose a tag to compare
Pre-release
Use supported versions of Microsoft.AspNetCore.* (#4561)

ASP.NET Core 2.1 on .NET Framework is supported
while version 2.2 is deprecated.

NSwag v14.0.0-preview009

31 Oct 16:53
Compare
Choose a tag to compare
Pre-release

NSwag v14.0.0-preview008

04 Oct 13:29
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: v13.20.0...v14.0.0-preview008

NSwag v13.20.0

15 Aug 14:16
Compare
Choose a tag to compare
  • Minor improvements

NSwag v13.19.0

04 May 06:35
Compare
Choose a tag to compare
  • Update to latest NJsonSchema and Namotion.Reflection libraries

NSwag v13.18.5

03 May 13:47
73ac020
Compare
Choose a tag to compare
  • ASP.NET Core OpenAPI Generator: Required path parameters are never nullable
  • TypeScript Generator: Add Axios abort signal: #4282
  • Update to Swagger UI v4.18.3