瀏覽代碼

feat: support hidden parameters

Yeuoly 7 月之前
父節點
當前提交
6357450a7a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      api/core/plugin/entities/endpoint.py

+ 1 - 0
api/core/plugin/entities/endpoint.py

@@ -15,6 +15,7 @@ class EndpointDeclaration(BaseModel):
 
     path: str
     method: str
+    hidden: bool = Field(default=False)
 
 
 class EndpointProviderDeclaration(BaseModel):