diff --git a/src/objects/api/constants.py b/src/objects/api/constants.py index 6e4e61fa..a85a012e 100644 --- a/src/objects/api/constants.py +++ b/src/objects/api/constants.py @@ -9,4 +9,4 @@ class Operators(models.TextChoices): lt = "lt", _("lower than") lte = "lte", _("lower than or equal to") icontains = "icontains", _("case-insensitive partial match") - in_list = "in", _("contains") + in_list = "in", _("in a list of values seperated by `|`") diff --git a/src/objects/api/v1/openapi.yaml b/src/objects/api/v1/openapi.yaml index b86a6b24..00b6cc04 100644 --- a/src/objects/api/v1/openapi.yaml +++ b/src/objects/api/v1/openapi.yaml @@ -106,6 +106,7 @@ paths: * `lt` - lower than * `lte` - lower than or equal to * `icontains` - case-insensitive partial match + * `in` - in a list of values seperated by `|` `value` may not contain double underscore or comma characters. `key` may not contain comma characters and includes double underscore only if it indicates nested attributes. @@ -537,6 +538,7 @@ paths: * `lt` - lower than * `lte` - lower than or equal to * `icontains` - case-insensitive partial match + * `in` - in a list of values seperated by `|` `value` may not contain double underscore or comma characters. `key` may not contain comma characters and includes double underscore only if it indicates nested attributes. diff --git a/src/objects/api/v2/openapi.yaml b/src/objects/api/v2/openapi.yaml index a2d5409b..e9585683 100644 --- a/src/objects/api/v2/openapi.yaml +++ b/src/objects/api/v2/openapi.yaml @@ -106,6 +106,7 @@ paths: * `lt` - lower than * `lte` - lower than or equal to * `icontains` - case-insensitive partial match + * `in` - in a list of values seperated by `|` `value` may not contain double underscore or comma characters. `key` may not contain comma characters and includes double underscore only if it indicates nested attributes. @@ -587,6 +588,7 @@ paths: * `lt` - lower than * `lte` - lower than or equal to * `icontains` - case-insensitive partial match + * `in` - in a list of values seperated by `|` `value` may not contain double underscore or comma characters. `key` may not contain comma characters and includes double underscore only if it indicates nested attributes.