openapi-python-client icon indicating copy to clipboard operation
openapi-python-client copied to clipboard

feat!: Add an override when creating schemas that include oai.References

Open wallagib opened this issue 1 year ago • 1 comments

This is a simple PR that replaces the roots of a Schema with the ReferencePath instead of erroring out.

wallagib avatar Mar 14 '24 16:03 wallagib

@dbanty This code causes one pytest tests to fail. test_skips_references_and_keeps_going, which makes sense, since this PR tries to handle references instead of skipping them. This change feels naive, but I'm not sure what tests I should add to expand on it. Can you offer some guidance?

wallagib avatar Mar 14 '24 16:03 wallagib

Merged newer PR #1307 which solves this. Sorry for the very long delay!

dbanty avatar Sep 13 '25 05:09 dbanty