From f1f9240bc1a877f6056bcaf400673b54ecc04ad3 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Mon, 1 May 2023 13:08:26 +0300 Subject: search endpoint init, fetch all data (#40) --- docs/swagger.json | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'docs/swagger.json') diff --git a/docs/swagger.json b/docs/swagger.json index e4bbb59..0bebe1c 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -15,9 +15,6 @@ "paths": { "/demo": { "get": { - "consumes": [ - "application/json" - ], "produces": [ "application/json" ], @@ -513,6 +510,31 @@ } } }, + "/search": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "search" + ], + "summary": "Get all user and map data.", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.Response" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/models.Response" + } + } + } + } + }, "/users/{id}": { "get": { "consumes": [ -- cgit v1.2.3