📝 Fix missing (#1232)
We currently miss these fields from
Schema type definition:django-modern-rest/dmr/openapi/objects/schema.py
Lines 17 to 18 in 03e7b14
•
$ref — https://json-schema.org/draft/2020-12/json-schema-core#section-8.2.3.1"$ref" — References another schema by URI.
•
$anchor — https://json-schema.org/draft/2020-12/json-schema-core#section-8.2.2"$anchor" — Defines a plain-name fragment anchor within a schema resource.
•
$comment — https://json-schema.org/draft/2020-12/json-schema-core#section-8.3"$comment" — A developer comment; has no effect on validation.
•
$schema — https://json-schema.org/draft/2020-12/json-schema-core#section-8.1.1"$schema" — Declares which JSON Schema dialect the schema is written against.
It would require a CHANGELOG entry and a test case, since we don't use them as of right now.
#feature #good_first_issue #help_wanted #openapi #django_modern_rest
sent via relator