From d68c409d4123411a8f2d7f4482a83b7992c82f44 Mon Sep 17 00:00:00 2001 From: colmazia Date: Mon, 9 Mar 2026 14:28:17 +0700 Subject: [PATCH] add category to clusters/search, make q non required --- openapi.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/openapi.json b/openapi.json index d8fc47a..1cff322 100644 --- a/openapi.json +++ b/openapi.json @@ -220,11 +220,19 @@ { "name": "q", "in": "query", - "required": true, + "required": false, "description": "Search query (minimum 3 characters)", "schema": { - "type": "string", - "minLength": 3 + "type": "string" + } + }, + { + "name": "category", + "in": "query", + "required": false, + "description": "Filter clusters by topic category", + "schema": { + "type": "string" } }, { @@ -425,4 +433,4 @@ } } } -} \ No newline at end of file +}