From 5d881c3c71ad157824684e8ed443764c690692f8 Mon Sep 17 00:00:00 2001 From: "rajesh.kumar" Date: Fri, 3 Feb 2023 06:36:40 +0000 Subject: Descendants description changed in openApi Issue-ID: CPS-1381 Change-ID: I73f97f986a817d423f93a8d922dcd9647b0203aa Signed-off-by: rajesh.kumar --- cps-rest/docs/openapi/components.yml | 2 +- docs/api/swagger/cps/openapi.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cps-rest/docs/openapi/components.yml b/cps-rest/docs/openapi/components.yml index 60b4ca318..2a8ba3adb 100644 --- a/cps-rest/docs/openapi/components.yml +++ b/cps-rest/docs/openapi/components.yml @@ -243,7 +243,7 @@ components: descendantsInQuery: name: descendants in: query - description: descendents to query depth of children. allowed values are none, all, any number starting from -1 + description: Number of descendants to query. Allowed values are 'none', 'all', -1 (for all), 0 (for none) and any positive number. required: false schema: type: string diff --git a/docs/api/swagger/cps/openapi.yaml b/docs/api/swagger/cps/openapi.yaml index 53c72f559..53bc840ec 100644 --- a/docs/api/swagger/cps/openapi.yaml +++ b/docs/api/swagger/cps/openapi.yaml @@ -1320,12 +1320,11 @@ paths: value: "/shops/bookstore/categories[@code=1]" - name: descendants in: query - description: "descendents to query depth of children. allowed values are none,\ - \ all, any number starting from -1" + description: "Number of descendants to query. Allowed values are 'none', 'all', -1 (for all), 0 (for none) and any positive number." required: false schema: type: string - example: "3" + example: 3 default: none responses: "200": -- cgit 1.2.3-korg