Software /
code /
prosody-modules
Changeset
4496:8e9bff3cde4f
mod_rest/openapi: Add missing body for POST /kind/type/to query
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 04 Mar 2021 01:28:26 +0100 |
parents | 4495:cdc530ec76d6 |
children | 4497:4c262e5a02b5 |
files | mod_rest/openapi.yaml |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_rest/openapi.yaml Thu Mar 04 01:26:41 2021 +0100 +++ b/mod_rest/openapi.yaml Thu Mar 04 01:28:26 2021 +0100 @@ -3,7 +3,7 @@ info: title: mod_rest API - version: 0.3.0 + version: 0.3.1 description: | API for sending and receiving stanzas, in a REST-ish fashion or by responding to webhooks. Multiple formats supported, including native XML @@ -41,6 +41,8 @@ - $ref: '#/components/parameters/kind' - $ref: '#/components/parameters/type' - $ref: '#/components/parameters/to' + requestBody: + $ref: '#/components/requestBodies/common' responses: 200: $ref: '#/components/responses/success'