소스 검색

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):