mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
fix definition of echo endpoint
This commit is contained in:
parent
327b1c4284
commit
4316b1afee
|
@ -2071,15 +2071,21 @@ paths:
|
||||||
description: "Invalid status value"
|
description: "Invalid status value"
|
||||||
security:
|
security:
|
||||||
- api_key: []
|
- api_key: []
|
||||||
/echo:
|
/echo/{data}:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- "misc"
|
- "misc"
|
||||||
summary: "Return what was send in the body"
|
summary: "Return what was send in the path"
|
||||||
description: "Just returns the body content"
|
description: "Just returns the path"
|
||||||
operationId: "echoData"
|
operationId: "echoData"
|
||||||
produces:
|
produces:
|
||||||
- "application/json"
|
- "application/json"
|
||||||
|
parameters:
|
||||||
|
- name: "data"
|
||||||
|
in: "path"
|
||||||
|
description: "Data to be echoed"
|
||||||
|
required: true
|
||||||
|
type: "string"
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user