TinyHelpers.AspNetCore.Swashbuckle
4.0.5
See the version list below for details.
dotnet add package TinyHelpers.AspNetCore.Swashbuckle --version 4.0.5
NuGet\Install-Package TinyHelpers.AspNetCore.Swashbuckle -Version 4.0.5
<PackageReference Include="TinyHelpers.AspNetCore.Swashbuckle" Version="4.0.5" />
paket add TinyHelpers.AspNetCore.Swashbuckle --version 4.0.5
#r "nuget: TinyHelpers.AspNetCore.Swashbuckle, 4.0.5"
// Install TinyHelpers.AspNetCore.Swashbuckle as a Cake Addin #addin nuget:?package=TinyHelpers.AspNetCore.Swashbuckle&version=4.0.5 // Install TinyHelpers.AspNetCore.Swashbuckle as a Cake Tool #tool nuget:?package=TinyHelpers.AspNetCore.Swashbuckle&version=4.0.5
Tiny Helpers for Swashbuckle ASP.NET Core
A collection of helper methods and classes for Swashbuckle ASP.NET Core that I use every day. I have packed them in a single library to avoid code duplication.
Installation
The library is available on NuGet. Just search for TinyHelpers.AspNetCore in the Package Manager GUI or run the following command in the .NET CLI:
dotnet add package TinyHelpers.AspNetCore.Swashbuckle
Usage
The library provides some useful extension methods for Swashbuckle ASP.NET Core:
AddAcceptLanguageHeader
: an extension method for the Swagger implementation provided by Swashbuckle.AspNetCore. It adds the Accept-Language header to swagger.json definition.
builder.Services.AddSwaggerGen(options =>
{
options.AddAcceptLanguageHeader();
});
Contribute
The project is constantly evolving. Contributions are welcome. Feel free to file issues and pull requests on the repo and we'll address them as we can.
Warning Remember to work on the develop branch, don't use the master branch directly. Create Pull Requests targeting develop.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
-
net8.0
- Swashbuckle.AspNetCore.SwaggerGen (>= 7.1.0)
-
net9.0
- Swashbuckle.AspNetCore.SwaggerGen (>= 7.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.