From 3ba575151fea90a76bb41e4f199d4641bf1adf93 Mon Sep 17 00:00:00 2001 From: Andrii Stashko Date: Tue, 26 Aug 2025 12:22:26 +0200 Subject: [PATCH] Explicitly indicate 'IS:' requirement --- src/lib/openapi/spec/feature-search-query-parameters.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/openapi/spec/feature-search-query-parameters.ts b/src/lib/openapi/spec/feature-search-query-parameters.ts index c4cfc7512b..52ebf8237d 100644 --- a/src/lib/openapi/spec/feature-search-query-parameters.ts +++ b/src/lib/openapi/spec/feature-search-query-parameters.ts @@ -163,9 +163,10 @@ export const featureSearchQueryParameters = [ schema: { type: 'string', example: 'IS:true', + pattern: '^IS:(true|false)$', }, 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', }, {