Senparc.Xncf.Swagger
0.20.12
Prefix Reserved
dotnet add package Senparc.Xncf.Swagger --version 0.20.12
NuGet\Install-Package Senparc.Xncf.Swagger -Version 0.20.12
<PackageReference Include="Senparc.Xncf.Swagger" Version="0.20.12" />
<PackageVersion Include="Senparc.Xncf.Swagger" Version="0.20.12" />
<PackageReference Include="Senparc.Xncf.Swagger" />
paket add Senparc.Xncf.Swagger --version 0.20.12
#r "nuget: Senparc.Xncf.Swagger, 0.20.12"
#:package Senparc.Xncf.Swagger@0.20.12
#addin nuget:?package=Senparc.Xncf.Swagger&version=0.20.12
#tool nuget:?package=Senparc.Xncf.Swagger&version=0.20.12
Senparc.Xncf.Swagger
Senparc.Xncf.Swagger integrates Swagger/OpenAPI document generation with an NCF ASP.NET Core application.
Features
- Adds an XNCF module boundary for API documentation configuration.
- Discovers MVC controller actions and their HTTP method, API-version, and route metadata.
- Uses generated XML documentation when the host enables XML documentation output.
- Provides a consistent place for NCF applications to extend document filters and API descriptions.
Installation
<PackageReference Include="Senparc.Xncf.Swagger" Version="0.26.0-preview3" />
Key API and requirements
- Mark actions with
[HttpGet],[HttpPost], or another HTTP method attribute. - Add API-version metadata such as
[ApiVersion("1")]where versioning is enabled. - Add an explicit
[Route("...")]so the generated document has a stable path. - Enable XML documentation generation in the consuming project for method and model comments.
The current integration targets MVC API actions. Razor Pages are not automatically described as API operations. Protect the Swagger endpoint and avoid publishing secrets, internal routes, or unrestricted schemas in production.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Mvc.Versioning (>= 5.1.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.6)
- Microsoft.Extensions.FileProviders.Embedded (>= 10.0.2)
- Senparc.CO2NET.WebApi (>= 2.1.9-preview)
- Senparc.Ncf.AreaBase (>= 0.23.12)
- Senparc.Xncf.AreasBase (>= 0.13.14)
- Swashbuckle.AspNetCore.Annotations (>= 10.1.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 10.1.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 10.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.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.20.12 | 40 | 11/19/2026 |
| 0.20.11 | 88 | 11/11/2026 |
| 0.20.10 | 95 | 11/5/2026 |
| 0.20.9 | 133 | 10/4/2026 |
| 0.20.8 | 123 | 9/18/2026 |
| 0.20.7 | 118 | 9/16/2026 |
| 0.20.6 | 143 | 8/29/2026 |
| 0.20.5 | 127 | 8/23/2026 |
| 0.20.4-preview8 | 133 | 8/14/2026 |
| 0.20.3-preview7 | 122 | 8/12/2026 |
| 0.20.2-preview6 | 117 | 8/8/2026 |
| 0.20.1-preview5 | 124 | 8/3/2026 |
| 0.20.0-preview4 | 122 | 7/31/2026 |
| 0.19.1-preview3 | 87 | 7/28/2026 |
| 0.19.0-preview2 | 89 | 7/26/2026 |
| 0.18.1-preview1 | 100 | 6/17/2026 |
| 0.17.2.1-preview | 96 | 5/9/2026 |
| 0.17.2-preview | 94 | 6/16/2026 |
| 0.17.1-preview.1 | 116 | 2/13/2026 |
| 0.17.0.4-preview | 127 | 12/28/2025 |
v0.1.0 initial release
v0.6.6 Updated module behavior and related support.
v0.11.0 Updated module behavior and related support.
[2024-09-10] v0.14.4-preview1 upgrade the cache foundation libraries
[2024-10-09] v0.14.6-preview1 Updated module behavior and related support.
[2024-10-09] v0.14.7-preview1 Updated module behavior and related support.
[2024-10-16] v0.14.8-preview1 Updated module behavior and related support.
[2024-11-08] v0.14.11-preview1 upgrade Senparc.AI
[2024-11-08] v0.14.12-preview1 upgrade Senparc.AI
[2024-11-15] v0.15.0-preview1 Updated module behavior and related support.
[2024-11-21] v0.16.2-preview1 Updated module behavior and related support.
[2024-11-28] v0.16.3-preview1 update CO2NET, use new SenparcSetting with UseLowerCaseApiName property
[2024-12-04] v0.16.4-preview1 update Swagger Xncf module, fix UseLowerCaseApiName not applied
[2025-01-25] v0.16.8-preview1 Update Agents functions, support for function calling
[2025-04-29] v0.16.10-preview1 Update CO2NET and AIKernel
[2025-05-18] v0.16.11-preview1 Update Installation
[2025-06-20] v0.16.12-preview1 Add MCP functions in XncfRegisterBase class
[2025-09-27] v0.17.0-preview.1 Add default sort for Swagger version(module name)
[2025-11-01] update basic libraries, including Senparc.AI
[2026-07-17] v0.19.0-preview2 Updated module behavior and related support.
1. integrateshared resource-localization mechanism, supportmodulefeature textdisplay dynamically according to the current culture
2. Updated module behavior and related support.
3. Updated module behavior and related support.
[2026-07-29] v0.19.1-preview3 Updated module behavior and related support.
1. Updated module behavior and related support.
2. Updated module behavior and related support.
[2026-07-31] v0.20.0-preview4 Updated module behavior and related support.
1. Updated module behavior and related support.
2. Updated module behavior and related support.
[2026-08-04] v0.20.1-preview5 Dependency updates from upstream projects
1. Dependency update from Senparc.Ncf.AreaBase to 0.23.1-preview5
2. Dependency update from Senparc.Xncf.AreasBase to 0.13.3-preview5
[2026-08-08] v0.20.2-preview6 Dependency updates from upstream projects
1. Dependency update from Senparc.Ncf.AreaBase to 0.23.2-preview6
2. Dependency update from Senparc.Xncf.AreasBase to 0.13.4-preview6
[2026-08-13] v0.20.3-preview7 Dependency update from Senparc.Ncf.AreaBase to 0.23.3-preview7
[2026-08-15] v0.20.4-preview8 Dependency update from Senparc.Ncf.AreaBase to 0.23.4-preview8; [5955]Senparc.Xncf.AreasBase to 0.13.6-preview8
[2026-08-22] v0.20.5-preview9 synchronize Senparc.Xncf.Swagger dependency version
1. Updated module behavior and related support.
[2026-08-29] v0.20.6 Dependency updates from Senparc.Ncf.AreaBase to 0.23.6; Dependency update from [5955]Senparc.Xncf.AreasBase to 0.13.8
1. Dependency update from Senparc.Ncf.AreaBase to 0.23.6
2. Dependency update from [5955]Senparc.Xncf.AreasBase to 0.13.8
[2026-09-16] v0.20.7 Dependency updates from Senparc.IntegrationSample to 0.0.13; Senparc.Web to 0.39.1; Senparc.Xncf.Installer to 0.5.7
[2026-09-17] v0.20.8 Dependency updates from Senparc.Ncf.XncfBase to 0.28.0
1. Updated module behavior and related support.
2. Updated module behavior and related support.
[2026-10-05] v0.20.9 Merge remote-tracking branch 'origin/Developer-MAF-V3' into Developer-MAF-V3-Spark
1. Updated Senparc.Xncf.Swagger project behavior and integration for the latest feature and reliability improvements.
2. chore: update package versions and dependencies across multiple projects
[2026-11-03] v0.20.10 Updated module behavior and related support.
1. Updated module behavior and related support.
2. Dependency update from Senparc.Ncf.AreaBase to 0.23.10
3. Dependency update from Senparc.Xncf.AreasBase to 0.13.12
[2026-11-11] v0.20.10 Updated module behavior and related support.
1. Updated module behavior and related support.
[2026-11-12] v0.20.11 Updated module behavior and related support.
1. Updated module behavior and related support.
2. Updated module behavior and related support.
[2026-11-19] v0.20.12 Updated module behavior, localization metadata, and English source comments
1. Updated localized labels, resource fallbacks, and user-facing messages across affected surfaces.
2. Kept runtime behavior and module integration aligned with the affected service and registration changes.