mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
openapi_extensions.md: add a clarification for oneOf
This commit is contained in:
parent
bb47f08ee7
commit
c11991f9de
|
|
@ -54,6 +54,8 @@ doesn't work, as in the following example:
|
||||||
properties:
|
properties:
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
This can only be used to define the type of named properties. In particular,
|
||||||
|
the current tooling does not support `oneOf` inside `additionalProperties`.
|
||||||
|
|
||||||
## OpenAPI 3's "2xx" format for response codes
|
## OpenAPI 3's "2xx" format for response codes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue