EaCloud.Swagger
6.0.1.4
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 EaCloud.Swagger --version 6.0.1.4
NuGet\Install-Package EaCloud.Swagger -Version 6.0.1.4
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="EaCloud.Swagger" Version="6.0.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EaCloud.Swagger --version 6.0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EaCloud.Swagger, 6.0.1.4"
#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 EaCloud.Swagger as a Cake Addin #addin nuget:?package=EaCloud.Swagger&version=6.0.1.4 // Install EaCloud.Swagger as a Cake Tool #tool nuget:?package=EaCloud.Swagger&version=6.0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EaCloud Swagger API 文档生成组件
说明
集成 Swagger
API 文档生成组件,方便前后端分离的开发模式中前后端开发人员的数据接口对接工作。基于Swagger
的工作原理,API的输入输出都需使用强类型
的数据类型,Swagger
才能发挥更好的作用,而EaCloud框架通过AutoMapper
的ProjectTo
对业务实体到输出DTOIOutputDto
提供了自动映射功能,能有效减轻后端开发中数据对象属性映射的工作量。
用法
可按照如下配置方式使用:
- 通过nuget引用
EaCloud.Swagger
程序集
Install-Package EaCloud.Swagger 2. 在
appsettings.json
中添加如下配置节点
{
"Swagger": {
//Swagger终结点
"Endpoints": [
{
"Title": "框架API", //标题
"Version": "v1", //版本
"Url": "/swagger/v1/swagger.json" //Url
},
{
"Title": "业务API",
"Version": "buss",
"Url": "/swagger/buss/swagger.json"
}
],
"RoutePrefix": "swagger", //路由前缀
"IsHideSchemas": false, //隐藏架构
"MiniProfiler": true, //启用轻量级工具分析
"Enabled": true
}
}
- 要禁用Swagger,可以设置
Enabled: false
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
- EaCloud.AspNetCore (>= 6.0.1.4)
- Swashbuckle.AspNetCore (>= 6.3.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 |
---|---|---|
8.0.1.7 | 97 | 10/9/2024 |
8.0.1.6 | 98 | 9/29/2024 |
8.0.1.5 | 104 | 9/13/2024 |
8.0.1.4 | 129 | 8/10/2024 |
8.0.1.3 | 106 | 8/7/2024 |
8.0.1.2 | 101 | 8/7/2024 |
8.0.1.1 | 103 | 8/7/2024 |
8.0.0.9 | 90 | 8/7/2024 |
8.0.0.8 | 65 | 8/5/2024 |
8.0.0.7 | 72 | 8/2/2024 |
8.0.0.6 | 78 | 8/1/2024 |
8.0.0.5 | 74 | 8/1/2024 |
8.0.0.4 | 57 | 7/31/2024 |
8.0.0.3 | 77 | 7/30/2024 |
8.0.0.2 | 94 | 7/25/2024 |
8.0.0.1 | 91 | 7/24/2024 |
7.0.9.4 | 106 | 7/19/2024 |
7.0.9.3 | 93 | 7/11/2024 |
7.0.9.2 | 112 | 7/6/2024 |
7.0.9.1 | 93 | 7/3/2024 |
7.0.8.9 | 115 | 6/28/2024 |
7.0.8.8 | 104 | 6/26/2024 |
7.0.8.7 | 103 | 6/22/2024 |
7.0.8.6 | 95 | 6/14/2024 |
7.0.8.5 | 99 | 5/31/2024 |
7.0.8.4 | 106 | 5/21/2024 |
7.0.8.3 | 113 | 5/21/2024 |
7.0.8.2 | 87 | 5/20/2024 |
7.0.8.1 | 98 | 5/20/2024 |
7.0.7.9 | 94 | 5/15/2024 |
7.0.7.8 | 76 | 5/10/2024 |
7.0.7.7 | 83 | 5/9/2024 |
7.0.7.6 | 77 | 5/9/2024 |
7.0.7.5 | 130 | 5/7/2024 |
7.0.7.4 | 110 | 4/28/2024 |
7.0.7.3 | 117 | 4/26/2024 |
7.0.7.2 | 119 | 4/21/2024 |
7.0.7.1 | 109 | 4/19/2024 |
7.0.6.9 | 112 | 4/15/2024 |
7.0.6.8 | 89 | 4/11/2024 |
7.0.6.7 | 112 | 4/11/2024 |
7.0.6.6 | 112 | 4/7/2024 |
7.0.6.5 | 121 | 4/7/2024 |
7.0.6.4 | 116 | 4/7/2024 |
7.0.6.3 | 112 | 4/7/2024 |
7.0.6.2 | 104 | 4/3/2024 |
7.0.6.1 | 113 | 4/3/2024 |
7.0.5.9 | 122 | 3/27/2024 |
7.0.5.8 | 122 | 3/23/2024 |
7.0.5.7 | 134 | 3/17/2024 |
7.0.5.6 | 124 | 3/17/2024 |
7.0.5.5 | 111 | 3/16/2024 |
7.0.5.4 | 119 | 3/13/2024 |
7.0.5.3 | 129 | 3/13/2024 |
7.0.5.2 | 121 | 3/6/2024 |
7.0.5.1 | 113 | 2/21/2024 |
7.0.4.9 | 122 | 2/21/2024 |
7.0.4.8 | 103 | 2/18/2024 |
7.0.4.7 | 113 | 2/5/2024 |
7.0.4.6 | 116 | 2/1/2024 |
7.0.4.5 | 101 | 1/26/2024 |
7.0.4.4 | 112 | 1/22/2024 |
7.0.4.3 | 129 | 1/17/2024 |
7.0.4.2 | 111 | 1/16/2024 |
7.0.4.1 | 99 | 1/16/2024 |
7.0.3.9 | 104 | 1/15/2024 |
7.0.3.8 | 153 | 1/3/2024 |
7.0.3.7 | 142 | 12/28/2023 |
7.0.3.6 | 130 | 12/27/2023 |
7.0.3.5 | 114 | 12/22/2023 |
7.0.3.4 | 106 | 12/22/2023 |
7.0.3.3 | 144 | 12/13/2023 |
7.0.3.2 | 108 | 12/13/2023 |
7.0.3.1 | 105 | 12/12/2023 |
7.0.2.9 | 164 | 11/26/2023 |
7.0.2.8 | 113 | 11/26/2023 |
7.0.2.7 | 150 | 9/26/2023 |
7.0.2.6 | 128 | 9/25/2023 |
7.0.2.5 | 130 | 9/15/2023 |
7.0.2.4 | 124 | 7/27/2023 |
7.0.2.3 | 154 | 7/22/2023 |
7.0.2.2 | 153 | 7/22/2023 |
7.0.2.1 | 187 | 7/21/2023 |
7.0.1.9 | 162 | 7/21/2023 |
7.0.1.8 | 136 | 7/20/2023 |
7.0.1.7 | 161 | 7/20/2023 |
7.0.1.6 | 184 | 7/4/2023 |
7.0.1.5 | 154 | 6/16/2023 |
7.0.1.4 | 164 | 6/13/2023 |
7.0.1.3 | 176 | 6/8/2023 |
7.0.1.2 | 155 | 6/2/2023 |
7.0.1.1 | 199 | 5/11/2023 |
7.0.0.9 | 180 | 5/10/2023 |
7.0.0.8 | 165 | 5/10/2023 |
7.0.0.7 | 202 | 4/19/2023 |
7.0.0.6 | 212 | 4/18/2023 |
7.0.0.5 | 246 | 3/27/2023 |
7.0.0.4 | 286 | 3/23/2023 |
7.0.0.3 | 304 | 1/31/2023 |
7.0.0.2 | 312 | 1/30/2023 |
7.0.0.1 | 323 | 12/24/2022 |
6.0.2.5 | 341 | 11/16/2022 |
6.0.2.4 | 355 | 11/10/2022 |
6.0.2.3 | 407 | 10/11/2022 |
6.0.2.2 | 484 | 9/23/2022 |
6.0.2.1 | 473 | 8/14/2022 |
6.0.1.9 | 484 | 8/13/2022 |
6.0.1.8 | 515 | 6/6/2022 |
6.0.1.7 | 526 | 5/26/2022 |
6.0.1.6 | 548 | 5/11/2022 |
6.0.1.5 | 525 | 5/10/2022 |
6.0.1.4 | 537 | 4/8/2022 |
6.0.1.3 | 571 | 4/2/2022 |
6.0.1.2 | 548 | 4/2/2022 |
6.0.1.1 | 539 | 3/18/2022 |
6.0.0.9 | 465 | 3/5/2022 |
6.0.0.8 | 460 | 2/19/2022 |
6.0.0.7 | 509 | 2/15/2022 |
6.0.0.6 | 462 | 2/14/2022 |
6.0.0.5 | 451 | 1/28/2022 |
6.0.0.4 | 478 | 1/13/2022 |
6.0.0.3 | 493 | 1/12/2022 |
6.0.0.2 | 329 | 12/21/2021 |
6.0.0.1 | 342 | 12/13/2021 |
5.0.3.7 | 368 | 10/16/2021 |
5.0.3.6 | 368 | 10/14/2021 |
5.0.3.5 | 363 | 10/13/2021 |
5.0.3.4 | 379 | 10/8/2021 |
5.0.3.3 | 366 | 9/17/2021 |
5.0.3.2 | 387 | 9/16/2021 |
5.0.3.1 | 348 | 9/15/2021 |
5.0.2.9 | 337 | 9/15/2021 |
5.0.2.8 | 352 | 8/31/2021 |
5.0.2.7 | 390 | 8/28/2021 |
5.0.2.6 | 384 | 8/22/2021 |
5.0.2.5 | 378 | 8/13/2021 |
5.0.2.4 | 352 | 8/13/2021 |
5.0.2.3 | 395 | 7/8/2021 |
5.0.2.2 | 345 | 7/1/2021 |
5.0.2.1 | 376 | 6/16/2021 |
5.0.1.9 | 342 | 5/12/2021 |
5.0.1.8 | 351 | 5/9/2021 |
5.0.1.7 | 397 | 5/7/2021 |
5.0.1.6 | 412 | 4/17/2021 |
5.0.1.5 | 349 | 4/16/2021 |
5.0.1.4 | 352 | 4/15/2021 |
5.0.1.3 | 324 | 4/15/2021 |
5.0.1.2 | 364 | 4/12/2021 |