summaryrefslogtreecommitdiffstats
path: root/docs/openapi
diff options
context:
space:
mode:
authorniamhcore <niamh.core@est.tech>2021-09-15 13:01:25 +0100
committerniamhcore <niamh.core@est.tech>2021-09-15 16:20:02 +0100
commitaccefb1c6f1fbb2ab904acbf7d5f4eb33ef51cee (patch)
treed5a4af9c248f110d433366f58cea0a3eefc8c7ed /docs/openapi
parent0f6e827fca9dea842515f47748822844fc5568e5 (diff)
Update response code for passthrough-running create use-case
Issue-ID: CPS-659 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: I4ebc4f68604efe78efb951989c2fb021443c36c9
Diffstat (limited to 'docs/openapi')
-rw-r--r--docs/openapi/openapi.yaml8
-rw-r--r--docs/openapi/openapi.yml4
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/openapi/openapi.yaml b/docs/openapi/openapi.yaml
index 082df223..58a23d90 100644
--- a/docs/openapi/openapi.yaml
+++ b/docs/openapi/openapi.yaml
@@ -313,12 +313,12 @@ paths:
$ref: '#/components/schemas/DataAccessWriteRequest'
required: true
responses:
- "200":
- description: OK
+ "201":
+ description: Created
content:
- application/json:
+ text/plain:
schema:
- type: object
+ type: string
"400":
description: Bad Request
content:
diff --git a/docs/openapi/openapi.yml b/docs/openapi/openapi.yml
index 516f7e3c..a9accdb9 100644
--- a/docs/openapi/openapi.yml
+++ b/docs/openapi/openapi.yml
@@ -192,8 +192,8 @@ paths:
schema:
$ref: 'components.yml#/components/schemas/DataAccessWriteRequest'
responses:
- '200':
- $ref: 'components.yml#/components/responses/Ok'
+ '201':
+ $ref: 'components.yml#/components/responses/Created'
'400':
$ref: 'components.yml#/components/responses/BadRequest'
'401':