Update dependency Swashbuckle.AspNetCore.Filters to v6 #1293
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.1.2
->6.0.0
Release Notes
mattfrear/Swashbuckle.AspNetCore.Filters
v6.0.0
Compare Source
Fixed
[System.Text.JsonPropertyNameAttribute]
. This is a breaking change which rewrote how the examplesare generated. Instead of explicitly using Newtonsoft's
JsonConvert.SerializeObject()
, I now use whichever JSONserializer is registered with the MVC pipeline, i.e. during
services.AddControllers()
.Removed
[SwaggerRequestExampleAttribute]
.[SwaggerResponseExampleAttribute]
.Microsoft.AspNetCore.Mvc.NewtonsoftJson
dependency.Changed
options.IgnoreObsoleteProperties();
and you want your Examples to not have theobsolete properties, then you will need to register my custom Newtonsoft
ExcludeObsoletePropertiesResolver
,e.g.
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.