Cike.AspNetCore.Swagger 1.0.60028

dotnet add package Cike.AspNetCore.Swagger --version 1.0.60028
                    
NuGet\Install-Package Cike.AspNetCore.Swagger -Version 1.0.60028
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cike.AspNetCore.Swagger" Version="1.0.60028" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cike.AspNetCore.Swagger" Version="1.0.60028" />
                    
Directory.Packages.props
<PackageReference Include="Cike.AspNetCore.Swagger" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cike.AspNetCore.Swagger --version 1.0.60028
                    
#r "nuget: Cike.AspNetCore.Swagger, 1.0.60028"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Cike.AspNetCore.Swagger@1.0.60028
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cike.AspNetCore.Swagger&version=1.0.60028
                    
Install as a Cake Addin
#tool nuget:?package=Cike.AspNetCore.Swagger&version=1.0.60028
                    
Install as a Cake Tool

Cike.AspNetCore.Swagger

Swagger/SwaggerUI 的约定式封装。两个扩展方法即完成装配。

提供的能力

扩展 做了什么
services.AddCikeSwagger("项目名", options => ...) Swagger 文档(Title=项目名)+ Bearer JWT 安全定义(调试时粘贴 token 即可)+ 自动包含输出目录全部 XML 注释 + 多态支持(UseAllOfForInheritance / UseOneOfForPolymorphism)+ 枚举字段中文描述(EnumDescriptionSupplementSchemaFilter)+ SupportNonNullableReferenceTypes 等可选配置
app.UseCikeSwaggerUI("项目名") UseSwagger().UseSwaggerUI(endpoint /swagger/v1/swagger.json)

典型用法(宿主模块):

// ConfigureServicesAsync
context.Services.AddCikeSwagger("Cike");
// InitializeAsync
context.GetApplicationBuilder().UseCikeSwaggerUI("Cike");

想让枚举注释出现在文档里:枚举成员加 /// <summary> XML 注释(需项目开启 XML 文档输出)。

模块信息

  • 模块类:CikeAspNetCoreSwaggerModule(无逻辑——两个扩展方法即全部)
  • 直接依赖:无

更多

宿主模块标准装配:AI 开发指南 第 6.4 节。

Product 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 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.60028 93 9/19/2026
1.0.60026 80 9/28/2026
1.0.60025 88 9/19/2026
1.0.60024 87 9/19/2026
1.0.60023 91 9/16/2026
1.0.60022 97 9/13/2026
1.0.60021 91 9/12/2026
1.0.60020 97 9/10/2026
1.0.60019 99 8/28/2026
1.0.60018 126 7/29/2026
1.0.60017 117 7/26/2026
1.0.60016 112 7/26/2026
1.0.60015 112 7/26/2026
1.0.60014 210 10/8/2025
1.0.60013 203 10/8/2025
1.0.60012 182 10/3/2025
1.0.60011 210 1/31/2025
1.0.60010 153 1/23/2025
1.0.60009 161 1/23/2025
1.0.9 78 9/28/2026
Loading failed