diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/openapi/openapi.yaml | 8 | ||||
-rw-r--r-- | docs/openapi/openapi.yml | 4 |
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': |