RuoVea.ExSwagger
6.0.2.6
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package RuoVea.ExSwagger --version 6.0.2.6
NuGet\Install-Package RuoVea.ExSwagger -Version 6.0.2.6
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="RuoVea.ExSwagger" Version="6.0.2.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuoVea.ExSwagger --version 6.0.2.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuoVea.ExSwagger, 6.0.2.6"
#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.
// Install RuoVea.ExSwagger as a Cake Addin #addin nuget:?package=RuoVea.ExSwagger&version=6.0.2.6 // Install RuoVea.ExSwagger as a Cake Tool #tool nuget:?package=RuoVea.ExSwagger&version=6.0.2.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RuoVea.ExSwagger
介绍
Swagger拓展插件 只需要添加该插件便可轻松使用 Swagger 使用方式
services.AddSwaggerSetup();
app.UseSwaggerMiddle();
使用示例
builder.Services.AddSwaggerSetup();
app.UseSwaggerMiddle();
配置文件
"Swagger": {
"ClientId": null,
"UseKnife4jUI": true,
"RoutePrefix": null, /*配置UI地址(处理二级虚拟目录)路径配置,设置为空,表示直接访问该文件*/
"Title": "API 文档",
"ApiUrl": null, /*api 地址*/
"ContactName": "厦门xxx网络科技有限公司",
"ContactEmail": "ruovea@foxmail.com",
"ContactUrl": "https://localhost:7007",
"LicenseName": null,
"LicenseUrl": null,
"TermsOfService": "https://www.ruovea.com",
"Description": "Api接口采用token+签名验证,在使用swagger测试接口时须先获取Token;api-version接口版本号,默认为1.0,可以不填写,其他版本必须填写。",
"ApiVersions": [
{
"Title": "基础模块",
"Version": "v0"
},
{
"Title": "系统基础模块",
"Version": "v1"
}
]
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- IGeekFan.AspNetCore.Knife4jUI (>= 0.0.16)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0)
- RuoVea.ExConfig (>= 6.0.1.6)
- Swashbuckle.AspNetCore.Filters (>= 7.0.12)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.5.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 6.5.0)
- System.Security.Cryptography.Pkcs (>= 6.0.4)
- System.Security.Cryptography.Xml (>= 6.0.1)
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 |
---|---|---|
8.0.0.2 | 70 | 11/1/2024 |
8.0.0.1 | 75 | 10/28/2024 |
8.0.0 | 92 | 8/28/2024 |
7.0.0.2 | 65 | 11/1/2024 |
7.0.0.1 | 76 | 10/28/2024 |
7.0.0 | 93 | 8/28/2024 |
6.0.3.5 | 71 | 11/1/2024 |
6.0.3.4 | 78 | 10/28/2024 |
6.0.3.3 | 143 | 8/14/2024 |
6.0.3.2 | 115 | 8/13/2024 |
6.0.3.1 | 111 | 8/13/2024 |
6.0.3 | 97 | 8/13/2024 |
6.0.2.6 | 100 | 7/23/2024 |
6.0.2.5 | 112 | 3/13/2024 |
6.0.2.4 | 126 | 2/27/2024 |
6.0.2.3 | 120 | 2/22/2024 |
6.0.2.2 | 125 | 1/27/2024 |
6.0.2.1 | 99 | 1/27/2024 |
6.0.2 | 258 | 3/11/2023 |
6.0.1 | 400 | 9/8/2022 |
6.0.0 | 432 | 3/24/2022 |
5.0.0.2 | 65 | 11/1/2024 |
5.0.0.1 | 69 | 10/28/2024 |
5.0.0 | 416 | 3/24/2022 |