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: ensure nestd allOfs are correctly resolved #95

Merged
merged 2 commits into from
Apr 8, 2023

Conversation

LucasRoesler
Copy link
Member

Adjust the schema merge logic to include allOf resolution. This ensures that nested allOf's are correctly merged together.

Adjust some of the model properties generation to handle some edge cases that were discovered for singleton allOfs.

Resolves #94

Adjust the schema merge logic to include allOf resolution. This ensures
that nested allOf's are correctly merged together.

Adjust some of the model properties generation to handle some edge cases
that were discovered for singleton allOfs.

Resolves #94

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
@injeniero
Copy link
Contributor

Maybe for another PR, but I'm having issues with the dependency: github.com/getkin/kin-openapi v0.89.0, the current version is v0.115.0 and it does fix a lot of bugs, one of them is to properly resolve external dependencies. I tried updating it here, but it has a few breaking changes, nothing really complicated to fix.

@injeniero
Copy link
Contributor

I just tested it with my full schema and it works perfect!! Thanks!!

injeniero

This comment was marked as resolved.

@injeniero
Copy link
Contributor

@LucasRoesler what else is needed to merge?

@LucasRoesler
Copy link
Member Author

Nothing is blocking it, i was just traveling for a few days. Merging now.

@LucasRoesler LucasRoesler merged commit d6605c6 into master Apr 8, 2023
@LucasRoesler LucasRoesler deleted the fix-nested-allof-resolution branch April 8, 2023 18:30
LucasRoesler pushed a commit that referenced this pull request Apr 8, 2023
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.

allOf with deep relationships does not work consistently
3 participants