Closed mpindado closed 2 years ago
as per chapter 9.2.1. Internal References
of the spec
https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-00#section-9.2.1
since draft07 dereference is done by $id
and not by path
So it is a bug of the third party library then.
Thank you so much
sure, no problem. @mpindado you can try draft04
btw if you need this behavior
Describe the bug When printing the schema generated, $ref definitions do not contain the literal "definitions".
The json schemas generated are not correctly parsed by some third party tools.
The documentation in the README shows the examples containing #definitions literal.
Is this a bug or can be configured somehow?
To Reproduce The example in the README:
Expected behavior References should contain "definitions" literal.
Actual results References do not contain "definitions" literal.
Versions: