summaryrefslogtreecommitdiffstats
path: root/openapi
diff options
context:
space:
mode:
Diffstat (limited to 'openapi')
-rw-r--r--openapi/components.yml16
-rw-r--r--openapi/openapi.yml2
2 files changed, 17 insertions, 1 deletions
diff --git a/openapi/components.yml b/openapi/components.yml
index c317ba76..fd9e2ff9 100644
--- a/openapi/components.yml
+++ b/openapi/components.yml
@@ -116,6 +116,9 @@ components:
example: my-data
cmHandleProperties:
$ref: '#/components/schemas/cmHandleProperties'
+ requestId:
+ type: string
+ example: uuid-random-id-eg
cmHandleProperties:
type: object
@@ -194,4 +197,15 @@ components:
options: (key1=value1,key2=value1/value2)
sample3:
value:
- options: (key1=10,key2=value2,key3=val31,val32) \ No newline at end of file
+ options: (key1=10,key2=value2,key3=val31,val32)
+ topicParamInQuery:
+ name: topicParamInQuery
+ in: query
+ description: valid topic name passed from client(NCMP).
+ required: false
+ schema:
+ type: string
+ allowReserved: true
+ examples:
+ sample1:
+ value: ncmp-async-m2m \ No newline at end of file
diff --git a/openapi/openapi.yml b/openapi/openapi.yml
index bae76394..6e0e8ae6 100644
--- a/openapi/openapi.yml
+++ b/openapi/openapi.yml
@@ -126,6 +126,7 @@ paths:
- $ref: 'components.yml#/components/parameters/cmHandleInPath'
- $ref: 'components.yml#/components/parameters/resourceIdentifierInQuery'
- $ref: 'components.yml#/components/parameters/optionsParamInQuery'
+ - $ref: 'components.yml#/components/parameters/topicParamInQuery'
requestBody:
description: Operational body
content:
@@ -159,6 +160,7 @@ paths:
- $ref: 'components.yml#/components/parameters/cmHandleInPath'
- $ref: 'components.yml#/components/parameters/resourceIdentifierInQuery'
- $ref: 'components.yml#/components/parameters/optionsParamInQuery'
+ - $ref: 'components.yml#/components/parameters/topicParamInQuery'
requestBody:
content:
application/json: