mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +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"
|
||||
security:
|
||||
- api_key: []
|
||||
/echo:
|
||||
/echo/{data}:
|
||||
get:
|
||||
tags:
|
||||
- "misc"
|
||||
summary: "Return what was send in the body"
|
||||
description: "Just returns the body content"
|
||||
summary: "Return what was send in the path"
|
||||
description: "Just returns the path"
|
||||
operationId: "echoData"
|
||||
produces:
|
||||
- "application/json"
|
||||
parameters:
|
||||
- name: "data"
|
||||
in: "path"
|
||||
description: "Data to be echoed"
|
||||
required: true
|
||||
type: "string"
|
||||
responses:
|
||||
"200":
|
||||
description: "successful operation"
|
||||
|
|
Loading…
Reference in New Issue
Block a user