Mercurial > prosody-modules
comparison mod_rest/res/openapi.yaml @ 4958:2735e29cf94b
mod_rest: Add some descriptive details to schema
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 05 Jun 2022 21:56:22 +0200 |
parents | 2ff1fa824c5d |
children | 0989dea9b356 |
comparison
equal
deleted
inserted
replaced
4957:89226fb1af67 | 4958:2735e29cf94b |
---|---|
593 xml: | 593 xml: |
594 attribute: true | 594 attribute: true |
595 | 595 |
596 | 596 |
597 invite: | 597 invite: |
598 type: object | |
599 description: Invite to a group chat | 598 description: Invite to a group chat |
599 title: "XEP-0249: Direct MUC Invitations" | |
600 type: object | |
600 required: | 601 required: |
601 - jid | 602 - jid |
602 xml: | 603 xml: |
603 name: x | 604 name: x |
604 namespace: jabber:x:conference | 605 namespace: jabber:x:conference |
782 desc: | 783 desc: |
783 description: Optional description | 784 description: Optional description |
784 type: string | 785 type: string |
785 | 786 |
786 payload: | 787 payload: |
788 title: 'XEP-0335: JSON Containers' | |
787 description: A piece of arbitrary JSON with a type field attached | 789 description: A piece of arbitrary JSON with a type field attached |
788 type: object | 790 type: object |
789 xml: | 791 xml: |
790 name: payload | 792 name: payload |
791 namespace: urn:xmpp:json-msg:0 | 793 namespace: urn:xmpp:json-msg:0 |