-
Notifications
You must be signed in to change notification settings - Fork 37
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
recursive model definitions causes crash #63
Comments
@SevastianGioanca I'm getting the same failure.
|
likely to be caused by APIDevTools/json-schema-ref-parser#36 or APIDevTools/json-schema-ref-parser#40 |
In my scenario I wasn't purposefully making an infinite nesting behavior... so I've now split the swagger data types to prevent an indefinite nesting and instead just a 2 layer nesting |
got the same, with four huge swagger definition files |
The exception should be avoided now with #110 . Please see the description in the PR for how to set up to ignore circular references. |
version 0.18.1
If you have a model with a recursive property like:
then the code generation will crash with:
The text was updated successfully, but these errors were encountered: