comparison mod_rest/res/openapi.yaml @ 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 2395d68af879
children 38d80dbfee88
comparison
equal deleted inserted replaced
4572:2395d68af879 4573:766883d8fc9e
237 $ref: '#/components/schemas/caps' 237 $ref: '#/components/schemas/caps'
238 nick: 238 nick:
239 $ref: '#/components/schemas/nick' 239 $ref: '#/components/schemas/nick'
240 delay: 240 delay:
241 $ref: '#/components/schemas/delay' 241 $ref: '#/components/schemas/delay'
242 vcard_update:
243 $ref: '#/components/schemas/vcard_update'
242 244
243 join: 245 join:
244 $ref: '#/components/schemas/join' 246 $ref: '#/components/schemas/join'
245 247
246 error: 248 error:
754 ext: 756 ext:
755 type: string 757 type: string
756 xml: 758 xml:
757 attribute: true 759 attribute: true
758 760
761 vcard_update:
762 type: object
763 xml:
764 name: x
765 namespace: vcard-temp:x:update
766 properties:
767 photo:
768 type: string
769 example: adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
770
759 error: 771 error:
760 description: Description of something gone wrong. See the Stanza Errors section in RFC 6120. 772 description: Description of something gone wrong. See the Stanza Errors section in RFC 6120.
761 type: object 773 type: object
762 properties: 774 properties:
763 type: 775 type: