2026-07-22 17:15:16 +08:00
|
|
|
# count.toml
|
|
|
|
|
[GET]
|
|
|
|
|
summary = "Get visit count and increment"
|
|
|
|
|
docstring = "Increments a counter and returns current value"
|
|
|
|
|
params = [] # 无参数
|
|
|
|
|
response_model = { name = { type = "str", required = true }, value = { type = "int", required = true } }
|