Use oneOf for response schema

This commit is contained in:
Tulir Asokan 2025-07-11 19:34:13 +03:00
parent 1947f2a72b
commit a14740e8da

View file

@ -126,7 +126,9 @@ paths:
content: content:
application/json: application/json:
schema: schema:
type: object oneOf:
- type: object
- $ref: "../../event-schemas/core-event-schema/state_event.yaml
examples: examples:
response: response:
value: { value: {