Skip to content

Commit b865985

Browse files
add filter field
1 parent 5354fc3 commit b865985

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

search.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,30 @@ definitions:
5959
items:
6060
type: string
6161
format: uuid
62+
filter:
63+
$ref: '#/definitions/FilterSearchRequest'
64+
65+
FilterSearchRequest:
66+
type: object
67+
properties:
68+
op:
69+
$ref: '#/definitions/FilterOpEnum'
70+
field:
71+
type: string
72+
value:
73+
type: array
74+
items:
75+
type: string
76+
77+
FilterOpEnum:
78+
type: string
79+
enum:
80+
- "in"
81+
- "nin"
82+
x-enum-varnames:
83+
- IN
84+
- NOT_IN
85+
6286
RecognizeImage:
6387
allOf:
6488
- $ref: "./identification.yml#/components/schemas/Image"

0 commit comments

Comments
 (0)