diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/swagger.yaml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index e24ca39..f719008 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -143,8 +143,6 @@ info: | |||
| 143 | paths: | 143 | paths: |
| 144 | /demo: | 144 | /demo: |
| 145 | get: | 145 | get: |
| 146 | consumes: | ||
| 147 | - application/json | ||
| 148 | produces: | 146 | produces: |
| 149 | - application/json | 147 | - application/json |
| 150 | responses: | 148 | responses: |
| @@ -441,6 +439,22 @@ paths: | |||
| 441 | summary: Update country code of session user. | 439 | summary: Update country code of session user. |
| 442 | tags: | 440 | tags: |
| 443 | - users | 441 | - users |
| 442 | /search: | ||
| 443 | get: | ||
| 444 | produces: | ||
| 445 | - application/json | ||
| 446 | responses: | ||
| 447 | "200": | ||
| 448 | description: OK | ||
| 449 | schema: | ||
| 450 | $ref: '#/definitions/models.Response' | ||
| 451 | "400": | ||
| 452 | description: Bad Request | ||
| 453 | schema: | ||
| 454 | $ref: '#/definitions/models.Response' | ||
| 455 | summary: Get all user and map data. | ||
| 456 | tags: | ||
| 457 | - search | ||
| 444 | /users/{id}: | 458 | /users/{id}: |
| 445 | get: | 459 | get: |
| 446 | consumes: | 460 | consumes: |