Breaking changes
UseSwagger*()
middleware methods now require a configure action instead of a settings object, see updated wiki- This was needed because we now have experimental support of API Explorer with the
UseSwagger*WithApiExplorer()
methods which share settings, #999
- This was needed because we now have experimental support of API Explorer with the
New features
- First additions of OpenApi models and extensions, please report any problems with the serialized specs (currently not exposed in the tooling, only usable in code)
- Added support for string enums TS >= 2.4, RicoSuter/NJsonSchema#647 (TS)
- Added Record type for C# DTOs (immutable, with ctor parameters), RicoSuter/NJsonSchema#645
- Added JsonSchemProcessorAttribute, https://github.com/RSuter/NJsonSchema/wiki/Schema-Processors#apply-a-processor-to-a-specific-type
- Some CSharp template improvements