From 1f2e66e720678f00682e6429aab7fa62251baf29 Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Wed, 16 Feb 2022 21:53:41 +0530 Subject: 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 Change-Id: I2696d5cb012d9274b0c1265f16aa9b2369657f05 --- cps-ncmp-rest/docs/openapi/components.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cps-ncmp-rest/docs/openapi/components.yaml') diff --git a/cps-ncmp-rest/docs/openapi/components.yaml b/cps-ncmp-rest/docs/openapi/components.yaml index d82813b87..4dd7e4711 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 -- cgit 1.2.3-korg