# HG changeset patch # User Kim Alvefur # Date 1616533718 -3600 # Node ID c6d44e1fb4d97b4f4d3bc89dd8eb48bda820e711 # Parent fd15e7f00ff5641b886d7fd30263b43f1988e1d9 mod_rest: Document the /echo endpoint in the openapi spec diff -r fd15e7f00ff5 -r c6d44e1fb4d9 mod_rest/res/openapi.yaml --- a/mod_rest/res/openapi.yaml Tue Mar 23 20:27:44 2021 +0100 +++ b/mod_rest/res/openapi.yaml Tue Mar 23 22:08:38 2021 +0100 @@ -47,6 +47,20 @@ 200: $ref: '#/components/responses/success' + /rest/echo: + post: + summary: Build as stanza and return it for inspection. + tags: + - debug + security: + - basic: [] + - token: [] + requestBody: + $ref: '#/components/requestBodies/common' + responses: + 200: + $ref: '#/components/responses/success' + /rest/ping/{to}: get: tags: