OpenAPI compliance: avoid $ref siblings (#1457)
This strives to fix all remaining cases where additional attributes (most often 'description' but not only) are provided next to $ref by wrapping $ref in allOf; and also drops allOf in a couple of places where $ref is the only element under it.
This commit is contained in:
parent
10844fef8c
commit
9ebcf5f257
14 changed files with 44 additions and 38 deletions
|
@ -191,7 +191,8 @@ paths:
|
|||
The signatures of the verifying identity servers which show that the
|
||||
association should be trusted, if you trust the verifying identity
|
||||
services.
|
||||
$ref: "../../schemas/server-signatures.yaml"
|
||||
allOf:
|
||||
- $ref: "../../schemas/server-signatures.yaml"
|
||||
required:
|
||||
- address
|
||||
- medium
|
||||
|
|
|
@ -74,7 +74,8 @@ paths:
|
|||
signatures:
|
||||
type: object
|
||||
description: The signature of the mxid, sender, and token.
|
||||
$ref: "../../schemas/server-signatures.yaml"
|
||||
allOf:
|
||||
- $ref: "../../schemas/server-signatures.yaml"
|
||||
token:
|
||||
type: string
|
||||
description: The token for the invitation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue