Skip to content

NSwag v11.3.0 (Build 841)

Compare
Choose a tag to compare
@RicoSuter RicoSuter released this 10 Jul 10:55
· 2067 commits to master since this release

TypeScript

Breaking changes:

  • Return FileResponse instead of Blob for file responses with additional properties (data, fileName, headers) #834: Just use response.data to access the response blob.
  • Render union types (null/undefined) for nullable operation parameters 9c23e1485cd90b39369356d223428ab4586d0ee5

Features and fixes:

  • Exclude more types with ExcludedTypeNames (FileParameter, FileResponse, etc.), #825

CSharp

  • Added GenerateUpdateJsonSerializerSettingsMethod setting to customize the JSON.NET serializer in the base class (or partial class) #827
  • Add support for changing default date/time parameter formatting with the ParameterDateTimeFormat setting #826

Web API

  • Fixed wildcard path parameter handling #831
  • Use ActionNameAttribute for operation id, #821