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
I have 3 json schema files - A.json, B.json, C.json. A references B and B references C. However, when I run the jsonschema2md command, command gets stuck at the gererating markdown step.
$ jsonschema2md -d . -e json --out ../out
loading 3 schemas
writing schemas
writing schemas to ...
writing README
building readme
writing documentation
generating markdown // stuck here
In my research so far, it seems like this happens when there are too many incoming references to a definition and/or when an array based reference references another array based reference.
Please see the example below of all 3 files, I deliberately added few extra properties extends[n] to the A.json schema, which made the command got stuck. Please help.
What did you do
I have 3 json schema files -
A.json
,B.json
,C.json
. A references B and B references C. However, when I run thejsonschema2md
command, command gets stuck at thegererating markdown
step.$ jsonschema2md -d . -e json --out ../out loading 3 schemas writing schemas writing schemas to ... writing README building readme writing documentation generating markdown // stuck here
In my research so far, it seems like this happens when there are too many incoming references to a definition and/or when an
array
based reference references anotherarray
based reference.Please see the example below of all 3 files, I deliberately added few extra properties
extends[n]
to theA.json
schema, which made the command got stuck. Please help.What did you expect to happen
Markdown to generate successfully.
What happened
Command got stuck at
generating markdown
stepWhat's your environment
10.13.6
v14.3.0
Do you have example files:
A.json
B.json
C.json
The text was updated successfully, but these errors were encountered: