# HG changeset patch # User Kim Alvefur # Date 1621954172 -7200 # Node ID 766883d8fc9e4b679c2ce46cf6532d79a13dd8b0 # Parent 2395d68af8794d93873fc78c57076d38f367568c mod_rest: Add XEP-0153 to OpenAPI spec diff -r 2395d68af879 -r 766883d8fc9e mod_rest/res/openapi.yaml --- 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