Software /
code /
prosody-modules
Changeset
4573:766883d8fc9e
mod_rest: Add XEP-0153 to OpenAPI spec
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 25 May 2021 16:49:32 +0200 |
parents | 4572:2395d68af879 |
children | 4574:38d80dbfee88 |
files | mod_rest/res/openapi.yaml |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_rest/res/openapi.yaml Tue May 25 16:48:52 2021 +0200 +++ b/mod_rest/res/openapi.yaml Tue May 25 16:49:32 2021 +0200 @@ -239,6 +239,8 @@ $ref: '#/components/schemas/nick' delay: $ref: '#/components/schemas/delay' + vcard_update: + $ref: '#/components/schemas/vcard_update' join: $ref: '#/components/schemas/join' @@ -756,6 +758,16 @@ xml: attribute: true + vcard_update: + type: object + xml: + name: x + namespace: vcard-temp:x:update + properties: + photo: + type: string + example: adc83b19e793491b1c6ea0fd8b46cd9f32e592fc + error: description: Description of something gone wrong. See the Stanza Errors section in RFC 6120. type: object