Use strict types for the presence EDUs

pull/1482/head
Travis Ralston 6 years ago
parent 549a25cad9
commit 766402a702

@ -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…
Cancel
Save