Comparison

mod_rest/openapi.yaml @ 4527:9a6aaba3d5ef

mod_rest: Reflect XEP-0092 queries no longer taking booleans in openapi spec Could probably re-derive a bunch of the openapi specification from res/schema-xmpp.json now.
author Kim Alvefur <zash@zash.se>
date Tue, 23 Mar 2021 20:25:21 +0100
parent 4497:4c262e5a02b5
comparison
equal deleted inserted replaced
4526:23b681214be3 4527:9a6aaba3d5ef
173 $ref: '#/components/schemas/html' 173 $ref: '#/components/schemas/html'
174 174
175 ping: 175 ping:
176 $ref: '#/components/schemas/ping' 176 $ref: '#/components/schemas/ping'
177 version: 177 version:
178 oneOf: 178 $ref: '#/components/schemas/version'
179 - $ref: '#/components/schemas/version'
180 - type: boolean
181 disco: 179 disco:
182 $ref: '#/components/schemas/disco' 180 $ref: '#/components/schemas/disco'
183 items: 181 items:
184 $ref: '#/components/schemas/items' 182 $ref: '#/components/schemas/items'
185 command: 183 command: