summaryrefslogtreecommitdiffstats
path: root/docs/openapi/openapi.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/openapi/openapi.yml')
-rw-r--r--docs/openapi/openapi.yml14
1 files changed, 12 insertions, 2 deletions
diff --git a/docs/openapi/openapi.yml b/docs/openapi/openapi.yml
index a9accdb9..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,10 +113,14 @@ paths:
content:
application/json:
schema:
- $ref: 'components.yml#/components/schemas/DmiReadRequestBody'
+ $ref: 'components.yml#/components/schemas/DmiModuleReadRequestBody'
responses:
'200':
- $ref: 'components.yml#/components/responses/Ok'
+ description: OK
+ content:
+ application/json:
+ schema:
+ $ref: 'components.yml#/components/schemas/YangResources'
'400':
$ref: 'components.yml#/components/responses/BadRequest'
'401':