Add isArchived query param to ABTProducts CRUD
This commit is contained in:
parent
4d2fb6ca3c
commit
1bbbd9c9a2
@ -38,6 +38,15 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
example: 1
|
example: 1
|
||||||
|
- name: isArchived
|
||||||
|
in: query
|
||||||
|
required: false
|
||||||
|
description: |-
|
||||||
|
When omitted, return all products; when true, return only archived products (isArchived = true);
|
||||||
|
when false, return only non-archived products (isArchived = false).
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
example: 1
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: OK
|
description: OK
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user