Преглед изворни кода

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