summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cps-rest/docs/openapi/components.yml2
-rw-r--r--docs/api/swagger/cps/openapi.yaml5
2 files changed, 3 insertions, 4 deletions
diff --git a/cps-rest/docs/openapi/components.yml b/cps-rest/docs/openapi/components.yml
index 60b4ca3189..2a8ba3adb3 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 53c72f559f..53bc840ec7 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":