General:
- Changed license to MIT
- Varios bug fixes (route handling, route path parameter handling, etc.)
- Code level refactorings (mainly in NJsonSchema)
- Extended DocumentProcessorContext to support more scenarios
TypeScript generator:
- Improved client typings to allow strict null checks (TS 2.0)
- Added
ClientBaseClass
setting: Adds a class to all generated client classes (must be defined or imported in the extension code) - Added settings
UseTransformOptionsMethod
andUseTransformResultMethod
- Breaking change: If you currently use 'transformOptions' or 'transformResult' via extension class, you need to enable the settings so that the methods are called (before they were called automatically)
- Improved TypeScript exception handling (now throwing a SwaggerException with the status code and more context info)
- Added option to always wrap DTO exeptions in a SwaggerException instance (
WrapDtoExceptions
setting) - Breaking change: DTOs are still thrown directly, but now a SwaggerException instance is thrown instead of an Error
- Added option to always wrap DTO exeptions in a SwaggerException instance (
- Improved HTTP status code handling (generated code now works for more scenarios)
- Fixed bug in FormData handling
CSharp generator:
- Improved HTTP status code handling (generated code now works for more scenarios)