Skip to content

@fumadocs/json-schema@0.3.8

Choose a tag to compare

@github-actions github-actions released this 04 Dec 20:55
· 1 commit to dev since this release
2290af3

Sample a primitive $ref in allOf

  • Sample { allOf: [{ $ref }] } of a string or number schema as its type instead of null.

Print the types of a titled type array

  • stringify() prints { title: 'Age', type: ['integer', 'null'] } as integer | null instead of Age.

Respect maxProperties in map samples

  • Sample at most maxProperties entries of an object with only additionalProperties.

Sample numbers inside exclusive bounds

  • Sampled numbers stay inside narrow exclusive ranges, like exclusiveMinimum: 0.1 with exclusiveMaximum: 0.9.