You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It (possibly) can be solved by APIDevTools/json-schema-ref-parser#141 (I tried to pull, rebase, and use it, but got stuck in TypeScript errors about JSONSchema4 vs JSONSchema6 incompatibilites).
Thank you for the report + investigation. Mind filing this in the json-schema-ref-parser repo, and comment back when the fix has been merged so we can upstream it here?
I tried to use
json2ts
with complex schema which uses references to elements in another schema (see examples below), but got following error:This probably caused by APIDevTools/json-schema-ref-parser#42, also see APIDevTools/json-schema-ref-parser#136
It (possibly) can be solved by APIDevTools/json-schema-ref-parser#141 (I tried to pull, rebase, and use it, but got stuck in TypeScript errors about JSONSchema4 vs JSONSchema6 incompatibilites).
Steps to reproduce:
person.json
types.json
Expected result:
person.d.ts
Any workarounds?
Is there a way to workaround this? Real schemas I want to process are huge and full of such
$id
-references…The text was updated successfully, but these errors were encountered: