EaCloud.Swagger
6.0.2.2
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.2.2
NuGet\Install-Package EaCloud.Swagger -Version 6.0.2.2
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.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EaCloud.Swagger --version 6.0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EaCloud.Swagger, 6.0.2.2"
#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.2.2 // Install EaCloud.Swagger as a Cake Tool #tool nuget:?package=EaCloud.Swagger&version=6.0.2.2
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.2.2)
- Swashbuckle.AspNetCore (>= 6.4.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.9 | 66 | 11/15/2024 |
8.0.1.8 | 71 | 11/13/2024 |
8.0.1.7 | 107 | 10/9/2024 |
8.0.1.6 | 101 | 9/29/2024 |
8.0.1.5 | 109 | 9/13/2024 |
8.0.1.4 | 131 | 8/10/2024 |
8.0.1.3 | 108 | 8/7/2024 |
8.0.1.2 | 105 | 8/7/2024 |
8.0.1.1 | 105 | 8/7/2024 |
8.0.0.9 | 92 | 8/7/2024 |
8.0.0.8 | 67 | 8/5/2024 |
8.0.0.7 | 74 | 8/2/2024 |
8.0.0.6 | 80 | 8/1/2024 |
8.0.0.5 | 76 | 8/1/2024 |
8.0.0.4 | 59 | 7/31/2024 |
8.0.0.3 | 79 | 7/30/2024 |
8.0.0.2 | 96 | 7/25/2024 |
8.0.0.1 | 93 | 7/24/2024 |
7.0.9.4 | 110 | 7/19/2024 |
7.0.9.3 | 97 | 7/11/2024 |
7.0.9.2 | 116 | 7/6/2024 |
7.0.9.1 | 95 | 7/3/2024 |
7.0.8.9 | 117 | 6/28/2024 |
7.0.8.8 | 106 | 6/26/2024 |
7.0.8.7 | 107 | 6/22/2024 |
7.0.8.6 | 97 | 6/14/2024 |
7.0.8.5 | 101 | 5/31/2024 |
7.0.8.4 | 108 | 5/21/2024 |
7.0.8.3 | 115 | 5/21/2024 |
7.0.8.2 | 89 | 5/20/2024 |
7.0.8.1 | 102 | 5/20/2024 |
7.0.7.9 | 96 | 5/15/2024 |
7.0.7.8 | 78 | 5/10/2024 |
7.0.7.7 | 85 | 5/9/2024 |
7.0.7.6 | 79 | 5/9/2024 |
7.0.7.5 | 132 | 5/7/2024 |
7.0.7.4 | 112 | 4/28/2024 |
7.0.7.3 | 121 | 4/26/2024 |
7.0.7.2 | 123 | 4/21/2024 |
7.0.7.1 | 111 | 4/19/2024 |
7.0.6.9 | 114 | 4/15/2024 |
7.0.6.8 | 91 | 4/11/2024 |
7.0.6.7 | 114 | 4/11/2024 |
7.0.6.6 | 114 | 4/7/2024 |
7.0.6.5 | 123 | 4/7/2024 |
7.0.6.4 | 118 | 4/7/2024 |
7.0.6.3 | 116 | 4/7/2024 |
7.0.6.2 | 106 | 4/3/2024 |
7.0.6.1 | 115 | 4/3/2024 |
7.0.5.9 | 124 | 3/27/2024 |
7.0.5.8 | 126 | 3/23/2024 |
7.0.5.7 | 136 | 3/17/2024 |
7.0.5.6 | 126 | 3/17/2024 |
7.0.5.5 | 113 | 3/16/2024 |
7.0.5.4 | 121 | 3/13/2024 |
7.0.5.3 | 131 | 3/13/2024 |
7.0.5.2 | 123 | 3/6/2024 |
7.0.5.1 | 119 | 2/21/2024 |
7.0.4.9 | 124 | 2/21/2024 |
7.0.4.8 | 105 | 2/18/2024 |
7.0.4.7 | 115 | 2/5/2024 |
7.0.4.6 | 118 | 2/1/2024 |
7.0.4.5 | 103 | 1/26/2024 |
7.0.4.4 | 114 | 1/22/2024 |
7.0.4.3 | 131 | 1/17/2024 |
7.0.4.2 | 115 | 1/16/2024 |
7.0.4.1 | 103 | 1/16/2024 |
7.0.3.9 | 106 | 1/15/2024 |
7.0.3.8 | 157 | 1/3/2024 |
7.0.3.7 | 144 | 12/28/2023 |
7.0.3.6 | 132 | 12/27/2023 |
7.0.3.5 | 118 | 12/22/2023 |
7.0.3.4 | 108 | 12/22/2023 |
7.0.3.3 | 146 | 12/13/2023 |
7.0.3.2 | 110 | 12/13/2023 |
7.0.3.1 | 109 | 12/12/2023 |
7.0.2.9 | 166 | 11/26/2023 |
7.0.2.8 | 115 | 11/26/2023 |
7.0.2.7 | 154 | 9/26/2023 |
7.0.2.6 | 132 | 9/25/2023 |
7.0.2.5 | 132 | 9/15/2023 |
7.0.2.4 | 126 | 7/27/2023 |
7.0.2.3 | 156 | 7/22/2023 |
7.0.2.2 | 155 | 7/22/2023 |
7.0.2.1 | 189 | 7/21/2023 |
7.0.1.9 | 164 | 7/21/2023 |
7.0.1.8 | 138 | 7/20/2023 |
7.0.1.7 | 163 | 7/20/2023 |
7.0.1.6 | 186 | 7/4/2023 |
7.0.1.5 | 156 | 6/16/2023 |
7.0.1.4 | 166 | 6/13/2023 |
7.0.1.3 | 178 | 6/8/2023 |
7.0.1.2 | 157 | 6/2/2023 |
7.0.1.1 | 201 | 5/11/2023 |
7.0.0.9 | 182 | 5/10/2023 |
7.0.0.8 | 167 | 5/10/2023 |
7.0.0.7 | 204 | 4/19/2023 |
7.0.0.6 | 214 | 4/18/2023 |
7.0.0.5 | 248 | 3/27/2023 |
7.0.0.4 | 288 | 3/23/2023 |
7.0.0.3 | 306 | 1/31/2023 |
7.0.0.2 | 314 | 1/30/2023 |
7.0.0.1 | 325 | 12/24/2022 |
6.0.2.5 | 343 | 11/16/2022 |
6.0.2.4 | 357 | 11/10/2022 |
6.0.2.3 | 409 | 10/11/2022 |
6.0.2.2 | 486 | 9/23/2022 |
6.0.2.1 | 475 | 8/14/2022 |
6.0.1.9 | 486 | 8/13/2022 |
6.0.1.8 | 517 | 6/6/2022 |
6.0.1.7 | 530 | 5/26/2022 |
6.0.1.6 | 550 | 5/11/2022 |
6.0.1.5 | 527 | 5/10/2022 |
6.0.1.4 | 539 | 4/8/2022 |
6.0.1.3 | 575 | 4/2/2022 |
6.0.1.2 | 550 | 4/2/2022 |
6.0.1.1 | 541 | 3/18/2022 |
6.0.0.9 | 467 | 3/5/2022 |
6.0.0.8 | 464 | 2/19/2022 |
6.0.0.7 | 511 | 2/15/2022 |
6.0.0.6 | 464 | 2/14/2022 |
6.0.0.5 | 455 | 1/28/2022 |
6.0.0.4 | 480 | 1/13/2022 |
6.0.0.3 | 497 | 1/12/2022 |
6.0.0.2 | 331 | 12/21/2021 |
6.0.0.1 | 346 | 12/13/2021 |
5.0.3.7 | 370 | 10/16/2021 |
5.0.3.6 | 370 | 10/14/2021 |
5.0.3.5 | 365 | 10/13/2021 |
5.0.3.4 | 381 | 10/8/2021 |
5.0.3.3 | 368 | 9/17/2021 |
5.0.3.2 | 389 | 9/16/2021 |
5.0.3.1 | 350 | 9/15/2021 |
5.0.2.9 | 339 | 9/15/2021 |
5.0.2.8 | 354 | 8/31/2021 |
5.0.2.7 | 394 | 8/28/2021 |
5.0.2.6 | 386 | 8/22/2021 |
5.0.2.5 | 386 | 8/13/2021 |
5.0.2.4 | 356 | 8/13/2021 |
5.0.2.3 | 397 | 7/8/2021 |
5.0.2.2 | 347 | 7/1/2021 |
5.0.2.1 | 384 | 6/16/2021 |
5.0.1.9 | 344 | 5/12/2021 |
5.0.1.8 | 353 | 5/9/2021 |
5.0.1.7 | 399 | 5/7/2021 |
5.0.1.6 | 414 | 4/17/2021 |
5.0.1.5 | 351 | 4/16/2021 |
5.0.1.4 | 354 | 4/15/2021 |
5.0.1.3 | 326 | 4/15/2021 |
5.0.1.2 | 366 | 4/12/2021 |