mod_rest: Update schema for <thread>
authorKim Alvefur <zash@zash.se>
Tue, 25 May 2021 16:47:19 +0200
changeset 4575 913fcb5efc77
parent 4574 82df1eed45d1
child 4576 2395d68af879
mod_rest: Update schema for <thread> Apparently a pair of strings now according to schema-xmpp.json
mod_rest/res/openapi.yaml
--- a/mod_rest/res/openapi.yaml	Tue May 25 16:46:46 2021 +0200
+++ b/mod_rest/res/openapi.yaml	Tue May 25 16:47:19 2021 +0200
@@ -372,7 +372,15 @@
 
     thread:
       description: Message thread identifier
-      type: string
+      properties:
+        parent:
+          type: string
+          xml:
+            attribute: true
+        id:
+          type: string
+          xml:
+            text: true
 
     show:
       description: indicator of availability, ie away or not