add first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# multiply 接口
|
||||
|
||||
[GET]
|
||||
summary = "Multiply two numbers"
|
||||
docstring = "Multiply two numbers via GET query params (a * b)"
|
||||
params = ["a: float", "b: float"]
|
||||
|
||||
[GET.response_model]
|
||||
result = { type = "float", required = true }
|
||||
operation = { type = "str", default = "multiply" }
|
||||
timestamp = { type = "float", required = false, default = 0.0 }
|
||||
Reference in New Issue
Block a user