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
|
@ -76,7 +76,8 @@ paths:
|
|||
keys:
|
||||
type: object
|
||||
description: Identity keys for the device.
|
||||
$ref: "../client-server/definitions/device_keys.yaml"
|
||||
allOf:
|
||||
- $ref: "../client-server/definitions/device_keys.yaml"
|
||||
device_display_name:
|
||||
type: string
|
||||
description: Optional display name for the device.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue