Skip to content
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

Use references when building JSON schemas to avoid infinite recursion #5

Closed
jtv8 opened this issue May 13, 2020 · 0 comments · Fixed by #33
Closed

Use references when building JSON schemas to avoid infinite recursion #5

jtv8 opened this issue May 13, 2020 · 0 comments · Fixed by #33
Assignees

Comments

@jtv8
Copy link
Contributor

jtv8 commented May 13, 2020

If a property type in a class refers to that class or its parent class, it will create an infinite recursive loop when building the schema. Avoid this by using:
https://json-schema.org/understanding-json-schema/structuring.html#recursion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant