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

Fix non-recursive allOf schemas being marked as recursive #977

Closed
wants to merge 2 commits into from

Conversation

craigmc08
Copy link

Fixes #490 and similar problems with allOf schemas marked as recursive. The bug is fixed by discarding changes to the RefCounter in OpenAPIParser after parsing each schema within an allOf schema. This causes each schema in the allOf to be parsed independently of each other.

@RomanHotsiy
Copy link
Member

This has been resolved by faa74d6

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 this pull request may close these issues.

Child having same 'external inheritance' as parent is considered recursive
2 participants