Skip to content

boolean enum cannot be shown properly #30

@reorx

Description

@reorx

image

Schema:

{
  "definitions": {},
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "http://example.com/root.json",
  "type": "object",
  "title": "The Root Schema",
  "required": [
    "checked"
  ],
  "properties": {
    "checked": {
      "type": "boolean",
      "description": "The Checked Schema `code`",
      "enum": [false],
      "examples": [
        false
      ]
    }
  }
}

Tested in master branch, in 1.x version (specially 1.0.3) this behavior is OK.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions