Diff

mod_rest/res/schema-xmpp.json @ 5528:ce6e071d61a0

mod_rest: Merge some common properties between openapi and schema
author Kim Alvefur <zash@zash.se>
date Wed, 07 Jun 2023 15:59:34 +0200
parent 5119:048e339706ba
child 5558:3276750332ea
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json	Wed Jun 07 15:52:02 2023 +0200
+++ b/mod_rest/res/schema-xmpp.json	Wed Jun 07 15:59:34 2023 +0200
@@ -108,6 +108,7 @@
          }
       },
       "delay" : {
+         "description" : "Timestamp of when a stanza was delayed, in ISO 8601 / XEP-0082 format.",
          "format" : "date-time",
          "title" : "XEP-0203: Delayed Delivery",
          "type" : "string",
@@ -204,7 +205,7 @@
       },
       "to" : {
          "description" : "the intended recipient for the stanza",
-         "example" : "alice@another.example",
+         "example" : "alice@example.com",
          "format" : "xmpp-jid",
          "type" : "string",
          "xml" : {