Skip to content

Latest commit

 

History

History
148 lines (119 loc) · 5.05 KB

CHANGELOG.md

File metadata and controls

148 lines (119 loc) · 5.05 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[5.0.0-rc7] 2019-07-26

Fixed

  • Issue #98 check schemaGeneratorOptions.IgnoreObsoleteProperties when generating json examples

[5.0.0-rc6] 2019-07-26

Added

  • PR #103 - Response Headers filter can now take an array of status codes

[5.0.0-rc5] 2019-07-24

Fixed

  • Issue #101, Exception with SecurityRequirementsOperationFilter when you have already added a 401 or a 403

[5.0.0-rc4] 2019-07-13

Fixed

  • Issue #99, JSON examples were encoded JSON

[5.0.0-rc3] 2019-06-10

Removed

  • Remove IExamplesProvider interface. Only support IExamplesProvider

[5.0.0-rc2] 2019-05-30

Changed

  • Use Swashbuckle.AspNetCore 5.0.0-rc2
  • Support .NET Core 3.0 preview 5

[5.0.0-beta] - 2019-04-23

Changed

  • Use Swashbuckle.AspNetCore 5.0.0-beta
  • Drop support for .NET Standard 1.6 and .NET Framework, since Swashbuckle.AspNetCore doesn't support them any more
  • Only set request example on the operation, no longer set it on the type. This means you can have different request examples for different operations which use the same request type, which is an often requested feature.

Added

  • XML examples

Deprecated

  • Removed AuthorizationInputOperationFilter
  • Removed DescriptionOperationFilter
  • Removed AddFileParamTypesOperationFilter

[4.5.5] - 2018-03-04

Fixed

  • Repository URL in NuGet package
  • Issue #89 - use Json.NET SerializationBinder property when generating examples. Thanks @dmitry-baryshev for the PR.

[4.5.4] - 2018-02-08

Deprecated

  • Marked AddFileParamTypesOperationFilter as Obsolete, because Swashbuckle 4.0 supports IFormFile directly.

Changed

  • Issue #84 - allow security schema to have a name other than "oauth2" via configuration

[4.5.3] - 2018-01-14

Fixed

  • Issue #80 - allow interfaces when resolving IExampleProvider

[4.5.2] - 2018-12-02

Fixed

  • Issue #69
    • Only set request examples on the schema registry object. The request parameter will only be set if a schema registry object is not found. This fix prevents a warning in Redoc. Thanks @Leon99 for the pull request.
  • Issue #72 do not override SerializerSettings.NullValueHandling because underlying issue seems to have been fixed

[4.5.1] - 2018-11-12

Fixed

  • Issue #67 3rd time
    • Support Swashbuckle.AspNetCore 4.0.0 for .NET Framework 4.6.1 projects

[4.5.0] - 2018-11-12

Fixed

  • Issue #67 again
    • Support Swashbuckle.AspNetCore 4.0.0 for .NET Framework 4.6.1 projects

[4.4.0] - 2018-11-08

Fixed

  • Issue #67
    • Support Swashbuckle.AspNetCore 4.0.0 for .NET Standard 2.0 projects

[4.3.1] - 2018-10-08

Added

  • Fix issue #63
    • Add an optional true/false value to the AddHeaderOperationFilter to determine whether the header is required or not.

[4.3.0] - 2018-09-14

Changed

  • Issue #60
    • No longer support .NET Framework 4.5.1 because it doesn't work with Scrutor (because Scrutor is unsigned)
    • Support .NET Framework 4.6.1
    • Support .NET Standard 2.0 (still support 1.6 too)

Deprecated

  • Mark DescriptionOperationFilter as obsolete, because you can accomplish the same thing with summary tags

[4.2.0] - 2018-08-15

Changed

  • It is no longer necessary to specify a ProducesResponseType or SwaggerResponse attribute in order to get response examples, so long as it is obvious what Type your action method returns.

[4.1.0] - 2018-08-06

Added

  • Add generic version of SecurityRequirementsOperationFilter and AppendAuthorizeToSummaryOperationFilter so that they can be used with other attributes. Reason: a client had implemented their own TypeFilterAttribute which did Authorization but wasn't an AuthorizeAttribute

[4.0.3] - 2018-08-03

Fixed

  • Issue #54 where child objects weren't having their descriptions set if parent property was missing [Description]

[4.0.2] - 2018-07-26

Fixed

  • Issue #54 where arrays of child objects weren't having their description set

[4.0.1] - 2018-07-24

Fixed

  • Fix bug where generic types weren't being automatically annotated

[4.0.0] - 2018-07-23

Added

  • Automatic annotation of request and response examples
  • Dependency on Scrutor 2.2.2

Changed

  • How ExamplesOperationFilter is installed - see Installation section of the Readme

[3.1.0] - 2018-07-21

Added

  • SecurityRequirementsOperationFilter to correctly set bearer token stuff when using [Authorize]

[3.0.4] - 2018-07-18

Fixed

  • Fix bug with DescriptionOperationFilter where Description not set if using a DefaultContractResolver

[3.0.3] - 2018-07-17

Fixed

  • Fix where Examples doesn't work on ASP.NET Core 2.0

[3.0.2] - 2018-07-15

Fixed

  • Port of bug #36 from Swashbuckle.Examples

[3.0.1] - 2018-07-15

Changed