mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
oneOf with two identical branches (modulo example) is a bug because oneOf means exclusive or. It’s also a totally inappropriate kludge for encoding multiple examples. The OpenAPI specification provides a perfectly good standard way to do that: https://spec.openapis.org/oas/v3.0.3#example-object However, we don’t handle that in our OpenAPI documentation generator yet, so for now just merge the examples. Signed-off-by: Anders Kaseorg <anders@zulip.com>
47 KiB
47 KiB