# HG changeset patch # User Kim Alvefur # Date 1621954132 -7200 # Node ID 2395d68af8794d93873fc78c57076d38f367568c # Parent 913fcb5efc77b4834b28d636c6c6d5fd111e5056 mod_rest: Add XEP-0115 to OpenAPI spec From schema-xmpp.json diff -r 913fcb5efc77 -r 2395d68af879 mod_rest/res/openapi.yaml --- 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