comparison mod_rest/res/openapi.yaml @ 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
parents 5268049915d8
children 8bfcedd93a72
comparison
equal deleted inserted replaced
5527:5268049915d8 5528:ce6e071d61a0
482 - unsubscribe 482 - unsubscribe
483 - unsubscribed 483 - unsubscribed
484 xml: 484 xml:
485 attribute: true 485 attribute: true
486 to: 486 to:
487 description: recipient 487 description: the intended recipient for the stanza
488 example: alice@example.com 488 example: alice@example.com
489 format: xmpp-jid
489 type: string 490 type: string
490 xml: 491 xml:
491 attribute: true 492 attribute: true
492 from: 493 from:
493 description: the sender 494 description: the sender of the stanza
494 example: bob@localhost.example 495 example: bob@example.net
496 format: xmpp-jid
495 type: string 497 type: string
496 xml: 498 xml:
497 attribute: true 499 attribute: true
498 id: 500 id:
499 description: Reasonably unique id. mod_rest generates one if left out. 501 description: Reasonably unique id. mod_rest generates one if left out.
563 namespace: http://jabber.org/protocol/nick 565 namespace: http://jabber.org/protocol/nick
564 delay: 566 delay:
565 type: string 567 type: string
566 format: date-time 568 format: date-time
567 description: Timestamp of when a stanza was delayed, in ISO 8601 / XEP-0082 format. 569 description: Timestamp of when a stanza was delayed, in ISO 8601 / XEP-0082 format.
570 title: 'XEP-0203: Delayed Delivery'
568 xml: 571 xml:
569 name: delay 572 name: delay
570 namespace: urn:xmpp:delay 573 namespace: urn:xmpp:delay
571 x_single_attribute: stamp 574 x_single_attribute: stamp
572 replace: 575 replace: