-
I see in the docs that we're limited to one response model right now for simplicity sake but perhaps it's possible to allow response-model be of type zod.array or zod.union? It's my first time using zod; please let me know if I'm understanding it wrong! It appears to be possible with the python/pydantic version as seen in this example. |
Beta Was this translation helpful? Give feedback.
Answered by
jakexia72
Feb 18, 2024
Replies: 1 comment 1 reply
-
actually I just found this... I will just create a parent object instead. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
roodboi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
actually I just found this... I will just create a parent object instead.