feat: add get ip endpoint

* rename handler
* change rate limit
This commit is contained in:
wancat authored and Annie Huang committed 2023-11-12 21:23:12 +08:00
1 parent 1d2ad733ed
commit 55b61dbcab
6 files changed
+22 -4

No files matched your search

+14
View File
@@ -519,6 +519,20 @@ paths:
description: Invalid request body
'401':
description: Unauthorized
/ip:
get:
summary: Get client IP address
responses:
'200':
description: IP address
content:
application/json:
schema:
type: object
properties:
ip:
type: string
example: '127.0.0.1'
components:
schemas: