MyDeltas.OpenApi
0.3.1.2-alpha
This is a prerelease version of MyDeltas.OpenApi.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MyDeltas.OpenApi --version 0.3.1.2-alpha
NuGet\Install-Package MyDeltas.OpenApi -Version 0.3.1.2-alpha
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="MyDeltas.OpenApi" Version="0.3.1.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MyDeltas.OpenApi" Version="0.3.1.2-alpha" />
<PackageReference Include="MyDeltas.OpenApi" />
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 MyDeltas.OpenApi --version 0.3.1.2-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MyDeltas.OpenApi, 0.3.1.2-alpha"
#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 MyDeltas.OpenApi@0.3.1.2-alpha
#: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=MyDeltas.OpenApi&version=0.3.1.2-alpha&prerelease
#tool nuget:?package=MyDeltas.OpenApi&version=0.3.1.2-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MyDeltas.OpenApi
- MyDeltas的ApiSchema转化器
- 让OpenApi文档与实际效果一致
1. TransformMyDelta
1.1 配置TransformMyDelta
services.AddOpenApi(options => options.TransformMyDelta());
1.2 转化前
"MyDeltaOfTodoItem": { }
1.3 使用TransformMyDelta后
转化后与被处理的原类型一致
"MyDeltaOfTodoItem": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string",
"nullable": true
},
"isComplete": {
"type": "boolean"
},
"remark": {
"type": "string",
"nullable": true
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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.
-
net9.0
- Microsoft.AspNetCore.OpenApi (>= 9.0.7)
- MyDeltas (>= 0.3.1.2-alpha)
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 |
---|---|---|
0.3.1.6-alpha | 189 | 8/26/2025 |
0.3.1.3-alpha | 204 | 8/5/2025 |
0.3.1.2-alpha | 94 | 7/29/2025 |
0.3.1.1-alpha | 96 | 7/29/2025 |
0.3.1-alpha | 117 | 7/27/2025 |
0.3.0-alpha | 112 | 7/11/2025 |
0.2.0-alpha | 125 | 7/9/2025 |