Changeset

4802:75543146e94e

mod_rest: Fix minor mistakes in openapi spec
author Kim Alvefur <zash@zash.se>
date Sun, 28 Nov 2021 21:30:53 +0100
parents 4801:b65955c0abd8
children 4803:f74c7c518bb2
files mod_rest/res/openapi.yaml
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rest/res/openapi.yaml	Sun Nov 28 21:27:44 2021 +0100
+++ b/mod_rest/res/openapi.yaml	Sun Nov 28 21:30:53 2021 +0100
@@ -240,7 +240,6 @@
       type: object
       properties:
         kind:
-          kind:
           description: Which kind of stanza
           type: string
           enum:
@@ -963,7 +962,7 @@
         name: query
       properties:
         desc:
-          type: text
+          type: string
         prompt:
           type: string
         jid: