Use strict types for the presence EDUs
This commit is contained in:
parent
549a25cad9
commit
766402a702
4 changed files with 8 additions and 4 deletions
|
@ -22,7 +22,8 @@ allOf:
|
|||
- type: object
|
||||
properties:
|
||||
edu_type:
|
||||
type: string
|
||||
type: enum
|
||||
enum: ['m.presence_accept']
|
||||
description: The string ``m.presence_accept``
|
||||
example: "m.presence_accept"
|
||||
content:
|
||||
|
|
|
@ -31,7 +31,8 @@ allOf:
|
|||
- type: object
|
||||
properties:
|
||||
edu_type:
|
||||
type: string
|
||||
type: enum
|
||||
enum: ['m.presence_deny']
|
||||
description: The string ``m.presence_deny``
|
||||
example: "m.presence_deny"
|
||||
content:
|
||||
|
|
|
@ -21,7 +21,8 @@ allOf:
|
|||
- type: object
|
||||
properties:
|
||||
edu_type:
|
||||
type: string
|
||||
type: enum
|
||||
enum: ['m.presence_invite']
|
||||
description: The string ``m.presence_invite``
|
||||
example: "m.presence_invite"
|
||||
content:
|
||||
|
|
|
@ -21,7 +21,8 @@ allOf:
|
|||
- type: object
|
||||
properties:
|
||||
edu_type:
|
||||
type: string
|
||||
type: enum
|
||||
enum: ['m.presence']
|
||||
description: The string ``m.presence``
|
||||
example: "m.presence"
|
||||
content:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue