Corvus.Text.Json.OpenApi.CodeGeneration
5.1.6
dotnet add package Corvus.Text.Json.OpenApi.CodeGeneration --version 5.1.6
NuGet\Install-Package Corvus.Text.Json.OpenApi.CodeGeneration -Version 5.1.6
<PackageReference Include="Corvus.Text.Json.OpenApi.CodeGeneration" Version="5.1.6" />
<PackageVersion Include="Corvus.Text.Json.OpenApi.CodeGeneration" Version="5.1.6" />
<PackageReference Include="Corvus.Text.Json.OpenApi.CodeGeneration" />
paket add Corvus.Text.Json.OpenApi.CodeGeneration --version 5.1.6
#r "nuget: Corvus.Text.Json.OpenApi.CodeGeneration, 5.1.6"
#:package Corvus.Text.Json.OpenApi.CodeGeneration@5.1.6
#addin nuget:?package=Corvus.Text.Json.OpenApi.CodeGeneration&version=5.1.6
#tool nuget:?package=Corvus.Text.Json.OpenApi.CodeGeneration&version=5.1.6
Corvus.Text.Json.OpenApi.CodeGeneration
Code generation for .NET API clients and servers from OpenAPI and AsyncAPI specifications.
Produces strongly-typed C# using Corvus.Text.Json zero-allocation types. The generated client code parses API responses directly into document-backed value types — no intermediate object model, no deserialization, no allocation on the happy path.
Architecture
OpenAPI/AsyncAPI spec
→ Parse via V5 type libraries
→ Walk via ISpecWalker (zero-allocation)
→ Build ClientModel (operations, parameters, schemas)
→ Feed schemas to existing V5 JsonSchemaTypeBuilder
→ Emit client interfaces + implementations
→ Write .cs files
Key Types
ClientModel— complete API model: metadata, operations, schemasClientOperation— one API method: path, HTTP method, parameters, request/responseClientModelBuilder— buildsClientModelfromISpecWalkeroutputClientCodeEmitter— produces C# source files fromClientModel
| 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
- Corvus.Text.Json (>= 5.1.6)
- Corvus.Text.Json.CodeGeneration (>= 5.1.6)
- Corvus.Text.Json.OpenApi (>= 5.1.6)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Corvus.Text.Json.OpenApi.CodeGeneration:
| Package | Downloads |
|---|---|
|
Corvus.Text.Json.OpenApi30
Strongly-typed V5 model types for OpenAPI 3.0 specifications, generated from the official OpenAPI 3.0 JSON Schema metaschema using the Corvus.Text.Json source generator. |
|
|
Corvus.Text.Json.OpenApi32
Strongly-typed V5 model types for OpenAPI 3.2 specifications, generated from the official OpenAPI 3.2 JSON Schema metaschema using the Corvus.Text.Json source generator. |
|
|
Corvus.Text.Json.OpenApi31
Strongly-typed V5 model types for OpenAPI 3.1 specifications, generated from the official OpenAPI 3.1 JSON Schema metaschema using the Corvus.Text.Json source generator. |
GitHub repositories
This package is not used by any popular GitHub repositories.