Mercurial > prosody-modules
diff 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 |
line wrap: on
line diff
--- a/mod_rest/res/openapi.yaml Tue May 25 16:47:19 2021 +0200 +++ b/mod_rest/res/openapi.yaml Tue May 25 16:48:52 2021 +0200 @@ -233,6 +233,8 @@ priority: $ref: '#/components/schemas/priority' + caps: + $ref: '#/components/schemas/caps' nick: $ref: '#/components/schemas/nick' delay: @@ -731,6 +733,29 @@ xml: attribute: true + caps: + type: object + xml: + name: c + namespace: http://jabber.org/protocol/caps + properties: + ver: + type: string + xml: + attribute: true + hash: + type: string + xml: + attribute: true + node: + type: string + xml: + attribute: true + ext: + type: string + xml: + attribute: true + error: description: Description of something gone wrong. See the Stanza Errors section in RFC 6120. type: object