Skip to content

@fumadocs/json-schema@0.3.7

Choose a tag to compare

@github-actions github-actions released this 03 Dec 19:49
632d9c6

Type labels by type

  • SchemaData of primitives keeps their JSON Schema type in primitive.
  • Type labels of the Schema UI have a data-type attribute, like string or object, for styling them by type.

Keep the parent's required in oneOf/anyOf variants

A oneOf/anyOf variant in the Schema UI takes the properties of its parent schema, and now its required list as well, so a required parent property is no longer shown as optional in each variant.