![]() |
VOOZH | about |
dotnet add package Franz.Common.Http.Documentation --version 2.2.7
NuGet\Install-Package Franz.Common.Http.Documentation -Version 2.2.7
<PackageReference Include="Franz.Common.Http.Documentation" Version="2.2.7" />
<PackageVersion Include="Franz.Common.Http.Documentation" Version="2.2.7" />Directory.Packages.props
<PackageReference Include="Franz.Common.Http.Documentation" />Project file
paket add Franz.Common.Http.Documentation --version 2.2.7
#r "nuget: Franz.Common.Http.Documentation, 2.2.7"
#:package Franz.Common.Http.Documentation@2.2.7
#addin nuget:?package=Franz.Common.Http.Documentation&version=2.2.7Install as a Cake Addin
#tool nuget:?package=Franz.Common.Http.Documentation&version=2.2.7Install as a Cake Tool
A robust library within the Franz Framework designed to simplify and enhance API documentation for ASP.NET Core applications. This package provides seamless integration with Swagger, API versioning, and route conventions, enabling clear, versioned, and comprehensive API documentation.
Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer.RoutePrefixConvention for consistent routing across controllers.ServiceCollectionExtensions for easy integration of Swagger and API documentation services.-Current Version: v2.2.7
This package relies on:
Since this package is hosted privately, configure your NuGet client:
dotnet nuget add source "https://your-private-feed-url" \
--name "AzurePrivateFeed" \
--username "YourAzureUsername" \
--password "YourAzurePassword" \
--store-password-in-clear-text
Install the package:
dotnet add package Franz.Common.Http.Documentation
Use the provided ConfigureSwaggerOptions class to customize Swagger settings:
using Franz.Common.Http.Documentation.Configuration;
services.AddSwaggerGen(options =>
{
ConfigureSwaggerOptions.Configure(options, apiVersionDescriptionProvider);
});
Enable API versioning with minimal effort:
services.AddApiVersioning(options =>
{
options.AssumeDefaultVersionWhenUnspecified = true;
options.ReportApiVersions = true;
options.DefaultApiVersion = new ApiVersion(1, 0);
});
services.AddVersionedApiExplorer(options =>
{
options.GroupNameFormat = "'v'VVV";
});
Use ServiceCollectionExtensions and ApplicationBuilderExtensions to integrate Swagger:
using Franz.Common.Http.Documentation.Extensions;
services.AddSwaggerDocumentation();
app.UseSwagger();
app.UseSwaggerUI(options =>
{
options.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
});
Customize API routes with RoutePrefixConvention:
using Franz.Common.Http.Documentation.Routing;
services.AddMvc(options =>
{
options.Conventions.Add(new RoutePrefixConvention("api"));
});
The Franz.Common.Http.Documentation package integrates seamlessly with:
Ensure these dependencies are installed to fully leverage the library's capabilities.
This package is part of a private framework. Contributions are limited to the internal development team. If you have access, follow these steps:
This library is licensed under the MIT License. See the LICENSE file for more details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on Franz.Common.Http.Documentation:
| Package | Downloads |
|---|---|
|
Franz.Common.Http.Bootstrap
Shared utility library for the Franz Framework. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.7 | 103 | 6/7/2026 |
| 2.2.6 | 113 | 6/6/2026 |
| 2.2.5 | 113 | 6/4/2026 |
| 2.2.4 | 103 | 6/3/2026 |
| 2.2.3 | 104 | 6/2/2026 |
| 2.2.2 | 115 | 6/2/2026 |
| 2.2.1 | 106 | 5/24/2026 |
| 2.1.4 | 113 | 4/27/2026 |
| 2.1.3 | 107 | 4/26/2026 |
| 2.1.2 | 106 | 4/26/2026 |
| 2.1.1 | 111 | 4/22/2026 |
| 2.0.2 | 123 | 3/30/2026 |
| 2.0.1 | 124 | 3/29/2026 |
| 1.7.8 | 111 | 3/2/2026 |
| 1.7.7 | 128 | 1/31/2026 |
| 1.7.6 | 133 | 1/22/2026 |
| 1.7.5 | 133 | 1/10/2026 |
| 1.7.4 | 123 | 12/27/2025 |
| 1.7.3 | 221 | 12/22/2025 |
| 1.7.2 | 216 | 12/21/2025 |