diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2022-02-16 21:53:41 +0530 |
---|---|---|
committer | sourabh_sourabh <sourabh.sourabh@est.tech> | 2022-03-10 21:44:32 +0530 |
commit | 1f2e66e720678f00682e6429aab7fa62251baf29 (patch) | |
tree | 3fa7a5d9a1934c6ed02bc36b2483ee35b0c3c4b7 /cps-ncmp-rest/docs/openapi/components.yaml | |
parent | b5a9ec3305b7d848f0fccfc6b007654679d6cf4c (diff) |
Async: NCMP Rest impl. including Request ID generation
- Based on topic api can be sync or async
- RequestId is generated using UUID
- Used UriComponentBuilder to populate dmi service url.
- New test cases are introduced to validate service url generation.
Issue-ID: CPS-828
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I2696d5cb012d9274b0c1265f16aa9b2369657f05
Diffstat (limited to 'cps-ncmp-rest/docs/openapi/components.yaml')
-rw-r--r-- | cps-ncmp-rest/docs/openapi/components.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cps-ncmp-rest/docs/openapi/components.yaml b/cps-ncmp-rest/docs/openapi/components.yaml index d82813b874..4dd7e47115 100644 --- a/cps-ncmp-rest/docs/openapi/components.yaml +++ b/cps-ncmp-rest/docs/openapi/components.yaml @@ -329,6 +329,18 @@ components: sample 3: value: options: (depth=2,fields=book/authors) + topicParamInQuery: + name: topic + in: query + description: topic parameter in query. + required: false + schema: + type: string + allowReserved: true + examples: + sample 1: + value: + topic: my-topic-name contentParamInHeader: name: Content-Type in: header |