Closed
Description
Is your feature request related to a problem? Please describe.
I attempted to generate a client from one of my OpenAPI specs, and allOf
and keywords are not yet supportedoneOf
Describe the solution you'd like
oneOf
should create a union type of the objects.
allOf
should create a type with all of the objects subfields.
Additional context
FYI, we've implemented allOf support in our fork here:
benchling/openapi-python-client@2670d11
benchling/openapi-python-client@9f5b95a (bugfix)
I will try to open a PR if I can find some free time 😅 , otherwise feel free to pull in whatever you find useful!