SparseTypes.OpenApi.Swashbuckle
0.1.0-rc1.182
dotnet add package SparseTypes.OpenApi.Swashbuckle --version 0.1.0-rc1.182
NuGet\Install-Package SparseTypes.OpenApi.Swashbuckle -Version 0.1.0-rc1.182
<PackageReference Include="SparseTypes.OpenApi.Swashbuckle" Version="0.1.0-rc1.182" />
<PackageVersion Include="SparseTypes.OpenApi.Swashbuckle" Version="0.1.0-rc1.182" />
<PackageReference Include="SparseTypes.OpenApi.Swashbuckle" />
paket add SparseTypes.OpenApi.Swashbuckle --version 0.1.0-rc1.182
#r "nuget: SparseTypes.OpenApi.Swashbuckle, 0.1.0-rc1.182"
#:package SparseTypes.OpenApi.Swashbuckle@0.1.0-rc1.182
#addin nuget:?package=SparseTypes.OpenApi.Swashbuckle&version=0.1.0-rc1.182&prerelease
#tool nuget:?package=SparseTypes.OpenApi.Swashbuckle&version=0.1.0-rc1.182&prerelease
SparseTypes.OpenApi.Swashbuckle
Register the model's generated schema bundle with builder.Services.AddSparseOpenApi(Order.PayloadJson.Schema). This overload selects OpenAPI 3.0. Pass OpenApiSpecVersion.OpenApi3_1 as the second argument when Swashbuckle emits OpenAPI 3.1.
The bundle includes the envelope and generated payload schemas for nested models, so you do not need to register each nested model's bundle separately. Check Order.PayloadJson.Schema.RequiredExternalSchemaTypes for leaf types that need application-provided schemas, including regular DTO types used as keyed item snapshots, then pass SparsePayloadSchema descriptors to the overload that accepts an external schema list. Each descriptor contains separate JSON schema strings for OpenAPI 3.0 and 3.1. The adapter does not infer missing schemas from CLR types.
This package targets .NET 10. Add SparseTypes to the project so its source generator can create the ChangePayload schema metadata.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- SparseTypes (>= 0.1.0-rc1.182)
- Swashbuckle.AspNetCore.SwaggerGen (>= 10.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 |
|---|---|---|
| 0.1.0-rc1.182 | 43 | 11/13/2026 |
| 0.1.0-rc1.172 | 56 | 11/9/2026 |
| 0.1.0-rc1.40 | 66 | 10/27/2026 |
| 0.1.0-rc1.31 | 67 | 10/27/2026 |