Support schema references #800
Replies: 4 comments 1 reply
-
Yes please! Currently reference schemas are explicitly not supported (here), but it's unclear why as adding this support seems not too difficult and increasingly necessary, especially as more people use TypeScript with models defined in objects ( |
Beta Was this translation helpful? Give feedback.
-
Folks seem to really want to vote for features, given all the “+1”, so I’m converting features to discussions so y’all can click the up arrow instead. Then, anyone contributing code can sort by most-voted-for 😁. |
Beta Was this translation helpful? Give feedback.
-
I was able to do (at least 1-level-deep) refs in a really naive way by just pulling out the reference and passing it on as an override.
|
Beta Was this translation helpful? Give feedback.
Original comment in English -
Related perhaps: My scheme wants to append
This seems to be supported by |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
If swagger.json contains a reference like:
python client unable to generate a proper model for this definition
To Reproduce
Steps to reproduce the behavior:
openapi-python-client generate --path swagger.json
Expected behavior
Client should contain generated endpoint and contain a model
OpenAPI Spec File
Desktop (please complete the following information):
Additional context
Stdout:
Beta Was this translation helpful? Give feedback.
All reactions