refactor remove upstream env dependency (#551)

This commit is contained in:
ekko
2026-05-08 20:46:22 +08:00
committed by GitHub
parent bba4920fee
commit 51fde26797
13 changed files with 90 additions and 165 deletions
+47
View File
@@ -162,6 +162,53 @@
}
}
},
"/api/auth/locked-ips": {
"get": {
"tags": [
"Auth"
],
"summary": "Get locked-ips",
"description": "GET /api/auth/locked-ips",
"operationId": "listLockedIps",
"security": [
{
"BearerAuth": []
}
],
"responses": {
"200": {
"description": "Success"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"404": {
"description": "Not found"
}
}
},
"delete": {
"tags": [
"Auth"
],
"summary": "Delete locked-ips",
"description": "DELETE /api/auth/locked-ips",
"operationId": "unlockIpHandler",
"security": [
{
"BearerAuth": []
}
],
"responses": {
"200": {
"description": "Success"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
}
}
}
},
"/api/auth/login": {
"post": {
"tags": [