comparison mod_rest/res/openapi.yaml @ 4574:38d80dbfee88

mod_rest: Add XEP-0012 to OpenAPI spec
author Kim Alvefur <zash@zash.se>
date Tue, 25 May 2021 16:49:51 +0200
parents 766883d8fc9e
children fae4e1335593
comparison
equal deleted inserted replaced
4573:766883d8fc9e 4574:38d80dbfee88
274 274
275 ping: 275 ping:
276 $ref: '#/components/schemas/ping' 276 $ref: '#/components/schemas/ping'
277 version: 277 version:
278 $ref: '#/components/schemas/version' 278 $ref: '#/components/schemas/version'
279 lastactivity:
280 $ref: '#/components/schemas/lastactivity'
279 disco: 281 disco:
280 $ref: '#/components/schemas/disco' 282 $ref: '#/components/schemas/disco'
281 items: 283 items:
282 $ref: '#/components/schemas/items' 284 $ref: '#/components/schemas/items'
283 command: 285 command:
733 value: 735 value:
734 type: string 736 type: string
735 xml: 737 xml:
736 attribute: true 738 attribute: true
737 739
740 lastactivity:
741 type: object
742 xml:
743 name: query
744 namespace: jabber:iq:last
745 properties:
746 seconds:
747 type: integer
748 minimum: 0
749 xml:
750 attribute: true
751 status:
752 type: string
753 xml:
754 text: true
755
738 caps: 756 caps:
739 type: object 757 type: object
740 xml: 758 xml:
741 name: c 759 name: c
742 namespace: http://jabber.org/protocol/caps 760 namespace: http://jabber.org/protocol/caps