NSwag Versions Save

The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

v14.0.7

1 month ago

v14.0.6

1 month ago

Broken version: Newtonsoft.Json options are not loaded correctly, please use v14.0.7

  • Fixes in CSharp generator

Full Changelog: https://github.com/RicoSuter/NSwag/compare/v14.0.5...v14.0.6

v14.0.5

1 month ago

Broken version: Newtonsoft.Json options are not loaded correctly, please use v14.0.7

  • Fix for WithOpenApi() bug

v14.0.4

1 month ago

Broken version: Newtonsoft.Json options are not loaded correctly, please use v14.0.7

  • Improve minimal API support (WithOpenApi())
  • Some minor fixes

Full Changelog: https://github.com/RicoSuter/NSwag/compare/v14.0.4...v14.0.4

v14.0.3

2 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/RicoSuter/NSwag/compare/v14.0.2...v14.0.3

v14.0.2

3 months ago

v14.0.1

3 months ago

Minor fixes:

v14.0.0

3 months ago

See https://github.com/RicoSuter/NSwag/issues/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)

v14.0.0-preview013

4 months ago

v14.0.0-preview012

4 months ago

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)