mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Correct the type of filter query parameter in OAS (#21802)
* Correct the type of filter query parameter in OAS * Add changeset --------- Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com>
This commit is contained in:
5
.changeset/quick-seals-cheer.md
Normal file
5
.changeset/quick-seals-cheer.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@directus/specs': patch
|
||||
---
|
||||
|
||||
Corrected the type of the filter query parameter in OpenAPI specs
|
||||
@@ -2,8 +2,8 @@ description: Select items in collection by given conditions.
|
||||
in: query
|
||||
name: filter
|
||||
required: false
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
pattern: '^(\[[^\[\]]*?\]){1}(\[(_eq|_neq|_lt|_lte|_gt|_gte|_in|_nin|_null|_nnull|_contains|_ncontains|_between|_nbetween|_empty|_nempty)\])?=.*?$'
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
example: { <field>: { <operator>: <value> } }
|
||||
|
||||
Reference in New Issue
Block a user