1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-24 17:51:14 +02:00

Explicitly indicate 'IS:' requirement

This commit is contained in:
Andrii Stashko 2025-08-26 12:22:26 +02:00
parent ac11af8c05
commit 3ba575151f
No known key found for this signature in database
GPG Key ID: 809CEE739E7CFB4C

View File

@ -163,9 +163,10 @@ export const featureSearchQueryParameters = [
schema: { schema: {
type: 'string', type: 'string',
example: 'IS:true', example: 'IS:true',
pattern: '^IS:(true|false)$',
}, },
description: description:
'Whether to get results for archived feature flags or active feature flags. If `true`, Unleash will return only archived flags. If `false`, it will return only active flags.', 'Whether to get results for archived feature flags or active feature flags. If `IS:true`, Unleash will return only archived flags. If `IS:false`, it will return only active flags.',
in: 'query', in: 'query',
}, },
{ {