diff mod_rest/res/openapi.yaml @ 4571:913fcb5efc77

mod_rest: Update schema for <thread> Apparently a pair of strings now according to schema-xmpp.json
author Kim Alvefur <zash@zash.se>
date Tue, 25 May 2021 16:47:19 +0200
parents 82df1eed45d1
children 2395d68af879
line wrap: on
line diff
--- 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