EaCloud.Swagger
6.0.1.8
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.8
NuGet\Install-Package EaCloud.Swagger -Version 6.0.1.8
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.8" />
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.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EaCloud.Swagger, 6.0.1.8"
#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.8 // Install EaCloud.Swagger as a Cake Tool #tool nuget:?package=EaCloud.Swagger&version=6.0.1.8
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.8)
- Swashbuckle.AspNetCore (>= 6.3.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.1.9 | 33 | 11/15/2024 |
8.0.1.8 | 37 | 11/13/2024 |
8.0.1.7 | 104 | 10/9/2024 |
8.0.1.6 | 100 | 9/29/2024 |
8.0.1.5 | 108 | 9/13/2024 |
8.0.1.4 | 130 | 8/10/2024 |
8.0.1.3 | 107 | 8/7/2024 |
8.0.1.2 | 104 | 8/7/2024 |
8.0.1.1 | 104 | 8/7/2024 |
8.0.0.9 | 91 | 8/7/2024 |
8.0.0.8 | 66 | 8/5/2024 |
8.0.0.7 | 73 | 8/2/2024 |
8.0.0.6 | 79 | 8/1/2024 |
8.0.0.5 | 75 | 8/1/2024 |
8.0.0.4 | 58 | 7/31/2024 |
8.0.0.3 | 78 | 7/30/2024 |
8.0.0.2 | 95 | 7/25/2024 |
8.0.0.1 | 92 | 7/24/2024 |
7.0.9.4 | 109 | 7/19/2024 |
7.0.9.3 | 96 | 7/11/2024 |
7.0.9.2 | 115 | 7/6/2024 |
7.0.9.1 | 94 | 7/3/2024 |
7.0.8.9 | 116 | 6/28/2024 |
7.0.8.8 | 105 | 6/26/2024 |
7.0.8.7 | 106 | 6/22/2024 |
7.0.8.6 | 96 | 6/14/2024 |
7.0.8.5 | 100 | 5/31/2024 |
7.0.8.4 | 107 | 5/21/2024 |
7.0.8.3 | 114 | 5/21/2024 |
7.0.8.2 | 88 | 5/20/2024 |
7.0.8.1 | 101 | 5/20/2024 |
7.0.7.9 | 95 | 5/15/2024 |
7.0.7.8 | 77 | 5/10/2024 |
7.0.7.7 | 84 | 5/9/2024 |
7.0.7.6 | 78 | 5/9/2024 |
7.0.7.5 | 131 | 5/7/2024 |
7.0.7.4 | 111 | 4/28/2024 |
7.0.7.3 | 120 | 4/26/2024 |
7.0.7.2 | 122 | 4/21/2024 |
7.0.7.1 | 110 | 4/19/2024 |
7.0.6.9 | 113 | 4/15/2024 |
7.0.6.8 | 90 | 4/11/2024 |
7.0.6.7 | 113 | 4/11/2024 |
7.0.6.6 | 113 | 4/7/2024 |
7.0.6.5 | 122 | 4/7/2024 |
7.0.6.4 | 117 | 4/7/2024 |
7.0.6.3 | 115 | 4/7/2024 |
7.0.6.2 | 105 | 4/3/2024 |
7.0.6.1 | 114 | 4/3/2024 |
7.0.5.9 | 123 | 3/27/2024 |
7.0.5.8 | 125 | 3/23/2024 |
7.0.5.7 | 135 | 3/17/2024 |
7.0.5.6 | 125 | 3/17/2024 |
7.0.5.5 | 112 | 3/16/2024 |
7.0.5.4 | 120 | 3/13/2024 |
7.0.5.3 | 130 | 3/13/2024 |
7.0.5.2 | 122 | 3/6/2024 |
7.0.5.1 | 116 | 2/21/2024 |
7.0.4.9 | 123 | 2/21/2024 |
7.0.4.8 | 104 | 2/18/2024 |
7.0.4.7 | 114 | 2/5/2024 |
7.0.4.6 | 117 | 2/1/2024 |
7.0.4.5 | 102 | 1/26/2024 |
7.0.4.4 | 113 | 1/22/2024 |
7.0.4.3 | 130 | 1/17/2024 |
7.0.4.2 | 112 | 1/16/2024 |
7.0.4.1 | 102 | 1/16/2024 |
7.0.3.9 | 105 | 1/15/2024 |
7.0.3.8 | 156 | 1/3/2024 |
7.0.3.7 | 143 | 12/28/2023 |
7.0.3.6 | 131 | 12/27/2023 |
7.0.3.5 | 117 | 12/22/2023 |
7.0.3.4 | 107 | 12/22/2023 |
7.0.3.3 | 145 | 12/13/2023 |
7.0.3.2 | 109 | 12/13/2023 |
7.0.3.1 | 106 | 12/12/2023 |
7.0.2.9 | 165 | 11/26/2023 |
7.0.2.8 | 114 | 11/26/2023 |
7.0.2.7 | 153 | 9/26/2023 |
7.0.2.6 | 129 | 9/25/2023 |
7.0.2.5 | 131 | 9/15/2023 |
7.0.2.4 | 125 | 7/27/2023 |
7.0.2.3 | 155 | 7/22/2023 |
7.0.2.2 | 154 | 7/22/2023 |
7.0.2.1 | 188 | 7/21/2023 |
7.0.1.9 | 163 | 7/21/2023 |
7.0.1.8 | 137 | 7/20/2023 |
7.0.1.7 | 162 | 7/20/2023 |
7.0.1.6 | 185 | 7/4/2023 |
7.0.1.5 | 155 | 6/16/2023 |
7.0.1.4 | 165 | 6/13/2023 |
7.0.1.3 | 177 | 6/8/2023 |
7.0.1.2 | 156 | 6/2/2023 |
7.0.1.1 | 200 | 5/11/2023 |
7.0.0.9 | 181 | 5/10/2023 |
7.0.0.8 | 166 | 5/10/2023 |
7.0.0.7 | 203 | 4/19/2023 |
7.0.0.6 | 213 | 4/18/2023 |
7.0.0.5 | 247 | 3/27/2023 |
7.0.0.4 | 287 | 3/23/2023 |
7.0.0.3 | 305 | 1/31/2023 |
7.0.0.2 | 313 | 1/30/2023 |
7.0.0.1 | 324 | 12/24/2022 |
6.0.2.5 | 342 | 11/16/2022 |
6.0.2.4 | 356 | 11/10/2022 |
6.0.2.3 | 408 | 10/11/2022 |
6.0.2.2 | 485 | 9/23/2022 |
6.0.2.1 | 474 | 8/14/2022 |
6.0.1.9 | 485 | 8/13/2022 |
6.0.1.8 | 516 | 6/6/2022 |
6.0.1.7 | 529 | 5/26/2022 |
6.0.1.6 | 549 | 5/11/2022 |
6.0.1.5 | 526 | 5/10/2022 |
6.0.1.4 | 538 | 4/8/2022 |
6.0.1.3 | 574 | 4/2/2022 |
6.0.1.2 | 549 | 4/2/2022 |
6.0.1.1 | 540 | 3/18/2022 |
6.0.0.9 | 466 | 3/5/2022 |
6.0.0.8 | 463 | 2/19/2022 |
6.0.0.7 | 510 | 2/15/2022 |
6.0.0.6 | 463 | 2/14/2022 |
6.0.0.5 | 452 | 1/28/2022 |
6.0.0.4 | 479 | 1/13/2022 |
6.0.0.3 | 496 | 1/12/2022 |
6.0.0.2 | 330 | 12/21/2021 |
6.0.0.1 | 345 | 12/13/2021 |
5.0.3.7 | 369 | 10/16/2021 |
5.0.3.6 | 369 | 10/14/2021 |
5.0.3.5 | 364 | 10/13/2021 |
5.0.3.4 | 380 | 10/8/2021 |
5.0.3.3 | 367 | 9/17/2021 |
5.0.3.2 | 388 | 9/16/2021 |
5.0.3.1 | 349 | 9/15/2021 |
5.0.2.9 | 338 | 9/15/2021 |
5.0.2.8 | 353 | 8/31/2021 |
5.0.2.7 | 393 | 8/28/2021 |
5.0.2.6 | 385 | 8/22/2021 |
5.0.2.5 | 385 | 8/13/2021 |
5.0.2.4 | 355 | 8/13/2021 |
5.0.2.3 | 396 | 7/8/2021 |
5.0.2.2 | 346 | 7/1/2021 |
5.0.2.1 | 383 | 6/16/2021 |
5.0.1.9 | 343 | 5/12/2021 |
5.0.1.8 | 352 | 5/9/2021 |
5.0.1.7 | 398 | 5/7/2021 |
5.0.1.6 | 413 | 4/17/2021 |
5.0.1.5 | 350 | 4/16/2021 |
5.0.1.4 | 353 | 4/15/2021 |
5.0.1.3 | 325 | 4/15/2021 |
5.0.1.2 | 365 | 4/12/2021 |