# HG changeset patch # User Kim Alvefur # Date 1616527521 -3600 # Node ID 9a6aaba3d5efd6f887c87b82dd09c7fc45b2b5e2 # Parent 23b681214be35afe1bd8142ebc64f34a3ad50b1a 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. diff -r 23b681214be3 -r 9a6aaba3d5ef mod_rest/openapi.yaml --- a/mod_rest/openapi.yaml Tue Mar 23 20:23:35 2021 +0100 +++ b/mod_rest/openapi.yaml Tue Mar 23 20:25:21 2021 +0100 @@ -175,9 +175,7 @@ ping: $ref: '#/components/schemas/ping' version: - oneOf: - - $ref: '#/components/schemas/version' - - type: boolean + $ref: '#/components/schemas/version' disco: $ref: '#/components/schemas/disco' items: