openapi-python-client
openapi-python-client copied to clipboard
feat!: Add an override when creating schemas that include oai.References
This is a simple PR that replaces the roots of a Schema with the ReferencePath instead of erroring out.
@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?
Merged newer PR #1307 which solves this. Sorry for the very long delay!