Fix the rendering of the event format for room versions 1 and 2 (#1883)
* Fix rendering of array with items using anyOf Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Use a single definition for Event Hash Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add changelog Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add ending newline Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> --------- Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>pull/1885/head
parent
094e25b6cd
commit
bd20d946c4
@ -0,0 +1 @@
|
||||
Fix the rendering of the event format for room versions 1 and 2.
|
@ -0,0 +1,13 @@
|
||||
type: object
|
||||
title: Event Hash
|
||||
description: |-
|
||||
Content hashes of the PDU, following the algorithm specified in [Signing Events](/server-server-api/#signing-events).
|
||||
example: {
|
||||
"sha256": "ThisHashCoversAllFieldsInCaseThisIsRedacted"
|
||||
}
|
||||
properties:
|
||||
sha256:
|
||||
type: string
|
||||
description: The hash.
|
||||
example: ThisHashCoversAllFieldsInCaseThisIsRedacted
|
||||
required: ['sha256']
|
Loading…
Reference in New Issue