Mercurial > prosody-modules
diff mod_rest/res/openapi.yaml @ 5528:ce6e071d61a0
mod_rest: Merge some common properties between openapi and schema
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 07 Jun 2023 15:59:34 +0200 |
parents | 5268049915d8 |
children | 8bfcedd93a72 |
line wrap: on
line diff
--- a/mod_rest/res/openapi.yaml Wed Jun 07 15:52:02 2023 +0200 +++ b/mod_rest/res/openapi.yaml Wed Jun 07 15:59:34 2023 +0200 @@ -484,14 +484,16 @@ xml: attribute: true to: - description: recipient + description: the intended recipient for the stanza example: alice@example.com + format: xmpp-jid type: string xml: attribute: true from: - description: the sender - example: bob@localhost.example + description: the sender of the stanza + example: bob@example.net + format: xmpp-jid type: string xml: attribute: true @@ -565,6 +567,7 @@ type: string format: date-time description: Timestamp of when a stanza was delayed, in ISO 8601 / XEP-0082 format. + title: 'XEP-0203: Delayed Delivery' xml: name: delay namespace: urn:xmpp:delay