Mercurial > prosody-modules
diff mod_rest/res/openapi.yaml @ 4574:38d80dbfee88
mod_rest: Add XEP-0012 to OpenAPI spec
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 25 May 2021 16:49:51 +0200 |
parents | 766883d8fc9e |
children | fae4e1335593 |
line wrap: on
line diff
--- a/mod_rest/res/openapi.yaml Tue May 25 16:49:32 2021 +0200 +++ b/mod_rest/res/openapi.yaml Tue May 25 16:49:51 2021 +0200 @@ -276,6 +276,8 @@ $ref: '#/components/schemas/ping' version: $ref: '#/components/schemas/version' + lastactivity: + $ref: '#/components/schemas/lastactivity' disco: $ref: '#/components/schemas/disco' items: @@ -735,6 +737,22 @@ xml: attribute: true + lastactivity: + type: object + xml: + name: query + namespace: jabber:iq:last + properties: + seconds: + type: integer + minimum: 0 + xml: + attribute: true + status: + type: string + xml: + text: true + caps: type: object xml: