modify: auth 配置

This commit is contained in:
2026-07-23 17:46:30 +08:00
parent 8a20a14123
commit 2e2a492a8d
5 changed files with 56 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@ cacheable = true
summary = "Add two numbers (POST)"
docstring = "Add two numbers via POST JSON body"
params = ["a: float", "b: float"]
auth_required = true
[POST.response_model]
result = { type = "float", required = true }