From 1f47d78a5f82998fe62fefe6d6f076583c101800 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Sat, 17 Jun 2023 12:30:25 +0300 Subject: feat: search with query (#40) --- docs/docs.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/docs.go') diff --git a/docs/docs.go b/docs/docs.go index d39fd1c..34aa7f4 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -651,7 +651,15 @@ const docTemplate = `{ "tags": [ "search" ], - "summary": "Get all user and map data.", + "summary": "Get all user and map data matching to the query.", + "parameters": [ + { + "type": "string", + "description": "Search user or map name.", + "name": "q", + "in": "query" + } + ], "responses": { "200": { "description": "OK", -- cgit v1.2.3