Skip to content

Commit

Permalink
Merge pull request #4131 from nebulab/kennyadsl/document-rest-api-nested
Browse files Browse the repository at this point in the history
Document REST API params to control nested taxons
  • Loading branch information
kennyadsl authored Jul 14, 2021
2 parents abdd013 + 38073ae commit 7b64d0c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions api/openapi/solidus-api.oas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3747,6 +3747,13 @@ paths:
- Taxonomies
security:
- api-key: []
parameters:
- schema:
type: string
default: nested
in: query
name: set
description: When `set=nested` it will recoursively return all the taxons of that taxonomy
parameters:
- name: id
in: path
Expand Down Expand Up @@ -4005,6 +4012,11 @@ paths:
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/per_page'
- $ref: '#/components/parameters/q'
- schema:
type: boolean
in: query
name: without_children
description: 'When set to `true`, it won''t recursively return all the taxons'' children.'
security:
- api-key: []
/users:
Expand Down

0 comments on commit 7b64d0c

Please sign in to comment.