Replies: 1 comment 2 replies
-
define a union object https://docs.rs/poem-openapi/2.0.27/poem_openapi/derive.Union.html |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an endpoint that can return a JSON array of objects, but the schema of the object can vary. I have no idea how to represent this in Poem OpenAPI, any suggestion will be welcomed!
Beta Was this translation helpful? Give feedback.
All reactions