changeset 4958:2735e29cf94b

mod_rest: Add some descriptive details to schema
author Kim Alvefur <zash@zash.se>
date Sun, 05 Jun 2022 21:56:22 +0200
parents 89226fb1af67
children 0989dea9b356
files mod_rest/res/openapi.yaml mod_rest/res/schema-xmpp.json
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rest/res/openapi.yaml	Mon May 30 16:14:51 2022 +0200
+++ b/mod_rest/res/openapi.yaml	Sun Jun 05 21:56:22 2022 +0200
@@ -595,8 +595,9 @@
 
 
     invite:
+      description: Invite to a group chat
+      title: "XEP-0249: Direct MUC Invitations"
       type: object
-      description: Invite to a group chat
       required:
       - jid
       xml:
@@ -784,6 +785,7 @@
           type: string
 
     payload:
+      title: 'XEP-0335: JSON Containers'
       description: A piece of arbitrary JSON with a type field attached
       type: object
       xml:
--- a/mod_rest/res/schema-xmpp.json	Mon May 30 16:14:51 2022 +0200
+++ b/mod_rest/res/schema-xmpp.json	Sun Jun 05 21:56:22 2022 +0200
@@ -701,6 +701,7 @@
                      }
                   }
                },
+               "title" : "XEP-0313: Message Archive Management",
                "type" : "object",
                "xml" : {
                   "name" : "result",