modify: auth 配置
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user