summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/openapi/components.yml4
-rw-r--r--docs/openapi/openapi.yml8
2 files changed, 10 insertions, 2 deletions
diff --git a/docs/openapi/components.yml b/docs/openapi/components.yml
index 94742c82..9cce52de 100644
--- a/docs/openapi/components.yml
+++ b/docs/openapi/components.yml
@@ -19,12 +19,14 @@ components:
items:
type: string
- DmiReadRequestBody:
+ DmiModuleReadRequestBody:
type: object
properties:
operation:
type: string
enum: [read]
+ dataType:
+ type: string
data:
type: object
properties:
diff --git a/docs/openapi/openapi.yml b/docs/openapi/openapi.yml
index 716528b1..f66897a2 100644
--- a/docs/openapi/openapi.yml
+++ b/docs/openapi/openapi.yml
@@ -45,6 +45,12 @@ paths:
required: true
schema:
type: string
+ requestBody:
+ description: Operational body
+ content:
+ application/json:
+ schema:
+ $ref: 'components.yml#/components/schemas/DataAccessReadRequest'
responses:
'200':
description: OK
@@ -107,7 +113,7 @@ paths:
content:
application/json:
schema:
- $ref: 'components.yml#/components/schemas/DmiReadRequestBody'
+ $ref: 'components.yml#/components/schemas/DmiModuleReadRequestBody'
responses:
'200':
description: OK