Mercurial > prosody-modules
comparison mod_rest/res/openapi.yaml @ 4572:2395d68af879
mod_rest: Add XEP-0115 to OpenAPI spec
From schema-xmpp.json
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 25 May 2021 16:48:52 +0200 |
parents | 913fcb5efc77 |
children | 766883d8fc9e |
comparison
equal
deleted
inserted
replaced
4571:913fcb5efc77 | 4572:2395d68af879 |
---|---|
231 status: | 231 status: |
232 $ref: '#/components/schemas/status' | 232 $ref: '#/components/schemas/status' |
233 priority: | 233 priority: |
234 $ref: '#/components/schemas/priority' | 234 $ref: '#/components/schemas/priority' |
235 | 235 |
236 caps: | |
237 $ref: '#/components/schemas/caps' | |
236 nick: | 238 nick: |
237 $ref: '#/components/schemas/nick' | 239 $ref: '#/components/schemas/nick' |
238 delay: | 240 delay: |
239 $ref: '#/components/schemas/delay' | 241 $ref: '#/components/schemas/delay' |
240 | 242 |
729 value: | 731 value: |
730 type: string | 732 type: string |
731 xml: | 733 xml: |
732 attribute: true | 734 attribute: true |
733 | 735 |
736 caps: | |
737 type: object | |
738 xml: | |
739 name: c | |
740 namespace: http://jabber.org/protocol/caps | |
741 properties: | |
742 ver: | |
743 type: string | |
744 xml: | |
745 attribute: true | |
746 hash: | |
747 type: string | |
748 xml: | |
749 attribute: true | |
750 node: | |
751 type: string | |
752 xml: | |
753 attribute: true | |
754 ext: | |
755 type: string | |
756 xml: | |
757 attribute: true | |
758 | |
734 error: | 759 error: |
735 description: Description of something gone wrong. See the Stanza Errors section in RFC 6120. | 760 description: Description of something gone wrong. See the Stanza Errors section in RFC 6120. |
736 type: object | 761 type: object |
737 properties: | 762 properties: |
738 type: | 763 type: |