Software /
code /
prosody-modules
Changeset
5125:cf4714946831
mod_rest: Add XEP-0461 to OpenAPI
Gotta keep up with schema-xmpp.json
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 31 Dec 2022 17:03:40 +0100 |
parents | 5124:8d5b9245275d |
children | 5126:5784ff4f3b76 |
files | mod_rest/res/openapi.yaml |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_rest/res/openapi.yaml Sat Dec 31 17:02:36 2022 +0100 +++ b/mod_rest/res/openapi.yaml Sat Dec 31 17:03:40 2022 +0100 @@ -324,6 +324,8 @@ $ref: '#/components/schemas/stanza_ids' reference: $ref: '#/components/schemas/reference' + reply: + $ref: '#/components/schemas/reply' markable: $ref: '#/components/schemas/markable' displayed: @@ -1138,6 +1140,23 @@ - type - uri + reply: + title: 'XEP-0461: Message Replies' + description: Reference a message being replied to + type: object + xml: + name: reply + namespace: urn:xmpp:reply:0 + properties: + to: + type: string + xml: + attribute: true + id: + type: string + xml: + attribute: true + markable: type: boolean xml: