-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to generate a schema for code referring to a circular dependency #298
Comments
I think https://github.com/vega/ts-json-schema-generator will work for you. Can you give it a try? |
Sure, I tried with the following command line:
which fails with the following error:
It does work when I mention one of the types with the |
I guess there isn't currently: vega/ts-json-schema-generator#117 |
Not yet but I'd be happy to review a PR towards that feature. |
If you had to implement that feature right now, what time do you estimate would it take you? |
An hour if there are no major complications. Here is the corresponding issue vega/ts-json-schema-generator#117. |
Please see the following repo to reproduce the problem:
https://github.com/andreashuber69/typescript-json-schema-bug
P.S.: @domoritz @YousefED typescript-json-schema is a very valuable tool! Many thanks for your efforts!
The text was updated successfully, but these errors were encountered: