NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #526 most downloaded on NuGet
Some additional useful filters for Swashbuckle.AspNetCore. This package replaces Swashbuckle.AspNetCore.Examples.
Last release 10 months ago
24 Nov 2025
Release timing varies
gaps range from 2 weeks to 12 months
Nearly every release is documented
notes for 49 of 50 stable releases
1 version withdrawn
withdrawn after publishing
127 years old
60 releases · first in 1900
Fix issue #264 (thanks @ntark)
Fix issue #264 (thanks @ntark)
Upgrade to Swashbuckle.AspNetCore 10.0.0
Upgrade to Swashbuckle.AspNetCore 10.0.0
type parameter is now JsonSchemaType instead of stringOne column per quarter.
Fix issue #261 (thanks @ntark)
Fix issue #261 (thanks @ntark)
Fix when used with Swashbuckle.Aspnetcore 9.0.0.
Fix when used with Swashbuckle.Aspnetcore 9.0.0.
Made MvcOutputformatter public so that it can be overridden #254
Made MvcOutputformatter public so that it can be overridden #254
Bug fix #244
Bug fix #244
Add Readme to NuGet.
Add Readme to NuGet.
Breaking change. Default to camelCase instead of PascalCase for examples in minimal APIs.
Breaking change. Default to camelCase instead of PascalCase for examples in minimal APIs.
Render CSV examples for requests, and for IMultipleExamplesProvider (thanks @Bl4d3s)
Render CSV examples for requests, and for IMultipleExamplesProvider (thanks @Bl4d3s)
Inject IServiceProvider to MvcOutputFormatter instead of creating a new one
Inject IServiceProvider to MvcOutputFormatter instead of creating a new one
Fix bug in GetControllerAndActionAttributes, introduced by the last release which causes AddResponseHeadersFilter to fail.
Issue #227 - SecurityRequirementsOperationFilter for minimal APIs doesn't work with Swashbuckle.AspNetCore > 6.3.0 (thanks @hartmair)
Issue #231 - NuGet package now built in Release mode
Issue #225 - SecurityRequirementsOperationFilter doesn't add Auth to methods derived from a BaseController (thanks @andrew-yustyk)
Allow SwaggerResponseHeaderAttribute to be used on classes.
Issue #209 - Request example clash when using API versioning
Issues #43 and #129 - added support for text/csv in response examples (thanks @icnocop)
Issue #189 - fix exception when using Minimal APIs (thanks @dotdiego)
### Fixed - Fixed License
### Added - Add symbols NuGet package
PR #179 introduce Swashbuckle.AspNetCore.Filters.Abstractions package so that IExamplesProvider can be consumed without Swashbuckle dependency.
Issue #171 support auto example for ProducesDefaultResponseType.
ProducesDefaultResponseType.PR #161 restore NewtonsoftJson dependency.
Issue #132 Support [System.Text.JsonPropertyNameAttribute]. This is a breaking change which rewrote how the examples are generated. Instead of explici…
[System.Text.JsonPropertyNameAttribute]. This is a breaking change which rewrote how the examples
are generated. Instead of explicitly using Newtonsoft's JsonConvert.SerializeObject(), I now use whichever JSON
serializer is registered with the MVC pipeline, i.e. during services.AddControllers().[SwaggerRequestExampleAttribute].[SwaggerResponseExampleAttribute].Microsoft.AspNetCore.Mvc.NewtonsoftJson dependency.options.IgnoreObsoleteProperties(); and you want your Examples to not have the
obsolete properties, then you will need to register my custom Newtonsoft ExcludeObsoletePropertiesResolver,
e.g.services.AddControllers()
.AddNewtonsoftJson(opt =>
{
opt.SerializerSettings.ContractResolver = new ExcludeObsoletePropertiesResolver(opt.SerializerSettings.ContractResolver);
Add services.AddSwaggerExamples() extension method to allow examples without automatic annotation
services.AddSwaggerExamples() extension method to allow examples without automatic annotation### Fixed - #115 Added workaround for request examples when SerializeAsV2 = true - #148 AddSwaggerExamplesFromAssemblies method does not scan for IMul
PR #147 add support for multiple request and response examples. Thanks to @tomkludy and @pozy for the contribution.
PR #140 add extension methods AddSwaggerExamplesFromAssemblyOf and AddSwaggerExamplesFromAssemblies
Fix #136 use either XmlSerializer or DataContractSerializer to output XML examples, depending on what is configured. Thanks to @CumpsD and @ridingwolf
Use Swashbuckle.AspNetCore 5.0.0
PR #110, where using IgnoreObsoleteProperties option causes PascalCase to be emitted instead of camelCase.
Issue #106 SecurityRequirementsOperationFilter removes existing OpenApiSecurityRequirements
Issue #98 check schemaGeneratorOptions.IgnoreObsoleteProperties when generating json examples
PR #103 - Response Headers filter can now take an array of status codes
Issue #101, Exception with SecurityRequirementsOperationFilter when you have already added a 401 or a 403
Issue #99, JSON examples were encoded JSON
Remove IExamplesProvider interface. Only support IExamplesProvider
Use Swashbuckle.AspNetCore 5.0.0-rc2
Use Swashbuckle.AspNetCore 5.0.0-beta
Nothing published for this version
Marked AddFileParamTypesOperationFilter as Obsolete, because Swashbuckle 4.0 supports IFormFile directly.
Issue #80 - allow interfaces when resolving IExampleProvider
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 pre
Support Swashbuckle.AspNetCore 4.0.0 for .NET Framework 4.6.1 projects
Support Swashbuckle.AspNetCore 4.0.0 for .NET Framework 4.6.1 projects
Support Swashbuckle.AspNetCore 4.0.0 for .NET Standard 2.0 projects
Add an optional true/false value to the AddHeaderOperationFilter to determine whether the header is required or not.
No longer support .NET Framework 4.5.1 because it doesn't work with Scrutor (because Scrutor is unsigned)
It is no longer necessary to specify a ProducesResponseType or SwaggerResponse attribute in order to get response examples, so long as it is obvious w
Add generic version of SecurityRequirementsOperationFilter and AppendAuthorizeToSummaryOperationFilter so that they can be used with other attributes.
TypeFilterAttribute
which did Authorization but wasn't an AuthorizeAttributeIssue #54 where child objects weren't having their descriptions set if parent property was missing [Description]
[Description]Issue #54 where arrays of child objects weren't having their description set
Fix bug where generic types weren't being automatically annotated
Automatic annotation of request and response examples
SecurityRequirementsOperationFilter to correctly set bearer token stuff when using [Authorize]
[Authorize]Fix bug with DescriptionOperationFilter where Description not set if using a DefaultContractResolver
Fix where Examples doesn't work on ASP.NET Core 2.0
Port of bug #36 from Swashbuckle.Examples
Rename from Swashbuckle.AspNetCore.Examples
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →