Skip to content
Rico Suter edited this page Jun 13, 2019 · 49 revisions

Roadmap | SDK Development | Contribute

Most of the documentation also applies for DTO schemas in OpenAPI/Swagger documents generated with NSwag.

JSON Schema

NuGet Package: NJsonSchema

JSON Schema generators

NuGet Package: NJsonSchema

Topics:

Customizations

  • Custom Schema Properties: Add custom properties to the generated JSON objects (e.g. "x-documentation-link").
  • Type Mappers: Type mappers allow you to generate a custom JSON Schema for a given .NET type.
  • Schema Processors: Post process the generation of the schema or child schemas.
  • Value Generators: Converts JSON Schema default values to C# or TypeScript specific values

Code Generators

NuGet Packages: NJsonSchema.CodeGeneration

Customizations

Clone this wiki locally