Skip to content

Add support for schema generation with System.Text.Json.Schema #138

@ldeluigi

Description

@ldeluigi

Use Case

System.Text.Json.Schema exposes the GetJsonSchemaAsNode method, acting on a JsonSerializerOptions configured with ConfigureForNodaTime

Expected Behavior

The Json schema is generated and valid

Actual Behavior

NodaTime properties schemas are empty. They miss the "type" property which is mandatory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions