# HG changeset patch # User Kim Alvefur # Date 1614817706 -3600 # Node ID 8e9bff3cde4f75ce09819611c771d0f1836cc1a7 # Parent cdc530ec76d65b706f1c46139d0b2eebf6203724 mod_rest/openapi: Add missing body for POST /kind/type/to query diff -r cdc530ec76d6 -r 8e9bff3cde4f mod_rest/openapi.yaml --- 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'