modify: rust worker

This commit is contained in:
2026-08-22 03:27:32 +08:00
parent 541a9b5e33
commit 3cc8a63c1d
5 changed files with 64 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# rsdemo.hello —— 普通 GET 端点(对位 Python demo.hello)
[GET]
summary = "Rust 参考插件:问候"
params = ["name: str"]
auth_required = false
[GET.response_model]
greeting = { type = "str", required = true }
worker_id = { type = "str", required = false, default = "" }
timestamp = { type = "float", required = true }