Acme.ReturnOh
1.7.2
Suggested Alternatives
Additional Details
这个版本的Swashbuckle.AspNetCore.Swagger和Microsoft.OpenApi有严重的包冲突,请使用更新版本(>=1.7.4)或老版本(<=1.7.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 Acme.ReturnOh --version 1.7.2
NuGet\Install-Package Acme.ReturnOh -Version 1.7.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="Acme.ReturnOh" Version="1.7.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Acme.ReturnOh" Version="1.7.2" />
<PackageReference Include="Acme.ReturnOh" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Acme.ReturnOh --version 1.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Acme.ReturnOh, 1.7.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.
#:package Acme.ReturnOh@1.7.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Acme.ReturnOh&version=1.7.2
#tool nuget:?package=Acme.ReturnOh&version=1.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
接口返回参数处理,全局异常,参数验证,Swagger
1. ConfigureSwaggerOptions 配置 Swagger 选项,添加文档信息和 XML 注释文件
2. ConfigureApiBehaviorOptions 配置API行为选项,自定义模型验证失败时的响应格式
3. AddExceptionFilterService 配置MVC选项,添加自定义的异常过滤器
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.OpenApi (>= 3.1.2)
- Swashbuckle.AspNetCore.Swagger (>= 10.1.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 10.1.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 10.1.0)
-
net8.0
- Microsoft.OpenApi (>= 3.1.2)
- Swashbuckle.AspNetCore.Swagger (>= 10.1.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 10.1.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 10.1.0)
-
net9.0
- Microsoft.OpenApi (>= 3.1.2)
- Swashbuckle.AspNetCore.Swagger (>= 10.1.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 10.1.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 10.1.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 | |
|---|---|---|---|
| 1.7.5 | 136 | 3/27/2026 | |
| 1.7.5-beta | 121 | 3/25/2026 | |
| 1.7.4 | 121 | 3/25/2026 | |
| 1.7.3 | 175 | 3/16/2026 | |
| 1.7.2 | 171 | 1/14/2026 | |
| 1.7.1 | 216 | 12/12/2025 | |
| 1.7.0 | 204 | 11/29/2025 | |
| 1.5.0 | 248 | 1/20/2025 | |
| 1.4.5 | 202 | 11/18/2024 | |
| 1.4.3 | 184 | 11/18/2024 | |
| 1.4.2.1 | 246 | 4/12/2024 | |
| 1.4.2 | 252 | 4/7/2024 | |
| 1.4.1 | 242 | 4/7/2024 | |
| 1.4.0 | 210 | 4/2/2024 | |
| 1.3.0 | 256 | 3/29/2024 | |
| 1.2.3 | 297 | 3/18/2024 | |
| 1.2.2 | 229 | 3/18/2024 | |
| 1.2.1 | 293 | 3/18/2024 | |
| 1.1.2 | 233 | 3/18/2024 | |
| 1.1.1 | 332 | 3/18/2024 |