Skip to content

JSON Schema - Distinguish between null and undefined #21

Open

Description

@evestera

For JSON Schema, null and an optional field / undefined is not the same, so the currently generated schemas fail for JSON where explicit nulls are used instead of omitting optional fields.

Activity

  1. changed the title [-]JSON Schema - Use anyOf for explicit nulls[/-] [+]JSON Schema - Distinguish between `null` and `undefined`[/+] on Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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