Merge "Descendants description changed in openApi"
authorLuke Gleeson <luke.gleeson@est.tech>
Fri, 3 Feb 2023 10:08:57 +0000 (10:08 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 3 Feb 2023 10:08:57 +0000 (10:08 +0000)
cps-rest/docs/openapi/components.yml
docs/api/swagger/cps/openapi.yaml

index 60b4ca3..2a8ba3a 100644 (file)
@@ -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
index 53c72f5..53bc840 100644 (file)
@@ -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":