comparison mod_rest/res/openapi.yaml @ 5125:cf4714946831

mod_rest: Add XEP-0461 to OpenAPI Gotta keep up with schema-xmpp.json
author Kim Alvefur <zash@zash.se>
date Sat, 31 Dec 2022 17:03:40 +0100
parents 8d5b9245275d
children 5784ff4f3b76
comparison
equal deleted inserted replaced
5124:8d5b9245275d 5125:cf4714946831
322 $ref: '#/components/schemas/fallback' 322 $ref: '#/components/schemas/fallback'
323 stanza_ids: 323 stanza_ids:
324 $ref: '#/components/schemas/stanza_ids' 324 $ref: '#/components/schemas/stanza_ids'
325 reference: 325 reference:
326 $ref: '#/components/schemas/reference' 326 $ref: '#/components/schemas/reference'
327 reply:
328 $ref: '#/components/schemas/reply'
327 markable: 329 markable:
328 $ref: '#/components/schemas/markable' 330 $ref: '#/components/schemas/markable'
329 displayed: 331 displayed:
330 $ref: '#/components/schemas/displayed' 332 $ref: '#/components/schemas/displayed'
331 encryption: 333 encryption:
1135 attribute: true 1137 attribute: true
1136 type: string 1138 type: string
1137 required: 1139 required:
1138 - type 1140 - type
1139 - uri 1141 - uri
1142
1143 reply:
1144 title: 'XEP-0461: Message Replies'
1145 description: Reference a message being replied to
1146 type: object
1147 xml:
1148 name: reply
1149 namespace: urn:xmpp:reply:0
1150 properties:
1151 to:
1152 type: string
1153 xml:
1154 attribute: true
1155 id:
1156 type: string
1157 xml:
1158 attribute: true
1140 1159
1141 markable: 1160 markable:
1142 type: boolean 1161 type: boolean
1143 xml: 1162 xml:
1144 namespace: urn:xmpp:chat-markers:0 1163 namespace: urn:xmpp:chat-markers:0