RuoVea.ExSwagger
6.0.3.1
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.3.1
NuGet\Install-Package RuoVea.ExSwagger -Version 6.0.3.1
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.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuoVea.ExSwagger --version 6.0.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuoVea.ExSwagger, 6.0.3.1"
#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.3.1 // Install RuoVea.ExSwagger as a Cake Tool #tool nuget:?package=RuoVea.ExSwagger&version=6.0.3.1
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 (>= 6.0.0)
- RuoVea.ExConfig (>= 6.0.1.6)
- Swashbuckle.AspNetCore.Filters (>= 6.1.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.7.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 6.7.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 | 82 | 11/1/2024 |
8.0.0.1 | 83 | 10/28/2024 |
8.0.0 | 98 | 8/28/2024 |
7.0.0.2 | 76 | 11/1/2024 |
7.0.0.1 | 83 | 10/28/2024 |
7.0.0 | 98 | 8/28/2024 |
6.0.3.5 | 81 | 11/1/2024 |
6.0.3.4 | 86 | 10/28/2024 |
6.0.3.3 | 150 | 8/14/2024 |
6.0.3.2 | 120 | 8/13/2024 |
6.0.3.1 | 116 | 8/13/2024 |
6.0.3 | 102 | 8/13/2024 |
6.0.2.6 | 105 | 7/23/2024 |
6.0.2.5 | 117 | 3/13/2024 |
6.0.2.4 | 131 | 2/27/2024 |
6.0.2.3 | 129 | 2/22/2024 |
6.0.2.2 | 130 | 1/27/2024 |
6.0.2.1 | 104 | 1/27/2024 |
6.0.2 | 263 | 3/11/2023 |
6.0.1 | 405 | 9/8/2022 |
6.0.0 | 437 | 3/24/2022 |
5.0.0.2 | 75 | 11/1/2024 |
5.0.0.1 | 76 | 10/28/2024 |
5.0.0 | 421 | 3/24/2022 |