ethdebug / format

Smart contract debugging data format – Standards development working group
https://ethdebug.github.io/format/
43 stars 4 forks source link

Hack around limitation that prevents `$ref: ...`s from having siblings #81

Closed gnidan closed 7 months ago

gnidan commented 7 months ago

For any schema that defines a $ref property alongside any other properties, docusaurus-json-schema-plugin currently loses all other properties and treats the schema as just the $ref'd other schema itself. This is because docusaurus-json-schema-plugin uses the now-unmaintained @stoplight/json-ref-resolver, which is stuck on the old JSON Schema drafts 4-7 semantics. (In those older drafts, this behavior was correct.)

To work around this issue:

Screenshot 2024-02-06 at 00 01 51