Skip to content

Add Metadata to `$ref` schemas

Compare
Choose a tag to compare
@AttilaTheFun AttilaTheFun released this 28 Jun 06:41
· 30 commits to master since this release

Add Metadata to $ref schemas (#14)

  • Add Metadata to $ref schemas

This allows things like descriptions or nullability to be applied to a reference to another schema.

  • Minor updates based on PR feedback.

  • Use (Metadata, Structure<Schema>) instead of SchemaStructure.

  • Break long line onto multiple lines.