aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.yaml
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-17 12:30:25 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-17 12:30:25 +0300
commit1f47d78a5f82998fe62fefe6d6f076583c101800 (patch)
treef20dafaeccc264ce6b05c1b599e9cf31286c22f3 /docs/swagger.yaml
parentfeat: update main (diff)
downloadlphub-1f47d78a5f82998fe62fefe6d6f076583c101800.tar.gz
lphub-1f47d78a5f82998fe62fefe6d6f076583c101800.tar.bz2
lphub-1f47d78a5f82998fe62fefe6d6f076583c101800.zip
feat: search with query (#40)
Diffstat (limited to 'docs/swagger.yaml')
-rw-r--r--docs/swagger.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index d62b46b..597df9f 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -574,6 +574,11 @@ paths:
574 - users 574 - users
575 /search: 575 /search:
576 get: 576 get:
577 parameters:
578 - description: Search user or map name.
579 in: query
580 name: q
581 type: string
577 produces: 582 produces:
578 - application/json 583 - application/json
579 responses: 584 responses:
@@ -590,7 +595,7 @@ paths:
590 description: Bad Request 595 description: Bad Request
591 schema: 596 schema:
592 $ref: '#/definitions/models.Response' 597 $ref: '#/definitions/models.Response'
593 summary: Get all user and map data. 598 summary: Get all user and map data matching to the query.
594 tags: 599 tags:
595 - search 600 - search
596 /token: 601 /token: