Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.46 KB

CHANGELOG.md

File metadata and controls

49 lines (36 loc) · 1.46 KB

1.0.2 (2024-05-16)

Bug Fixes

  • Fix for unstable enum description templating_utils.py (#243) (c304af8)

1.0.1 (2024-05-06)

Bug Fixes

  • Move types packages to dev-dependencies (#242) (8050904)

1.0.0 (2024-05-03)

0.48

(Issue #190) Now correctly display elements next to a $ref with reused nodes, e.g.:

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "type": "object",
  "title": "Example",
  "properties": {
    "prop1": {
      "$ref": "#/$defs/a",
      "description": "Prop1",
      "examples": ["1"]
    },
    "prop2": {
      "$ref": "#/$defs/a",
      "description": "Prop2",
      "examples": ["2"]
    }
  },
  "$defs": {
    "a": {
      "type": "string",
      "maxLength": 5
    }
  }
}

Previously, prop2 would have been a link to prop1, hiding the different example for prop2.

This may increase the size of rendered schemas in certain situations.