feat:插件API支持bear认证

This commit is contained in:
jxxghp
2025-05-07 13:26:42 +08:00
parent 4dc2c18075
commit 0cdea3318c
3 changed files with 10 additions and 3 deletions

View File

@@ -99,6 +99,7 @@ class _PluginBase(metaclass=ABCMeta):
"path": "/xx",
"endpoint": self.xxx,
"methods": ["GET", "POST"],
"auth: "apikey", # 鉴权类型apikey/bear
"summary": "API名称",
"description": "API说明"
}]