docs: 添加 API docs

This commit is contained in:
2026-01-27 13:42:52 +08:00
parent 4dc9ed341d
commit f6096c5ab7
6 changed files with 48 additions and 9 deletions
+7
View File
@@ -0,0 +1,7 @@
meta {
name: Authentication
}
auth {
mode: none
}
+23
View File
@@ -0,0 +1,23 @@
meta {
name: Login
type: http
seq: 1
}
post {
url: {{BaseURL}}/auth/login
body: json
auth: inherit
}
body:json {
{
"username": "helix",
"password": "123456"
}
}
settings {
encodeUrl: true
timeout: 0
}
+9
View File
@@ -0,0 +1,9 @@
{
"version": "1",
"name": "Helix API",
"type": "collection",
"ignore": [
"node_modules",
".git"
]
}
+3
View File
@@ -0,0 +1,3 @@
auth {
mode: none
}
+3
View File
@@ -0,0 +1,3 @@
vars {
BaseURL: http://localhost:8080
}