Changeset

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
parents 4526:23b681214be3
children 4528:fd15e7f00ff5
files mod_rest/openapi.yaml
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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: