unlist most endpoints

This commit is contained in:
2025-01-29 15:48:47 -05:00
parent e82d7b6727
commit ca02c9a731
6 changed files with 12 additions and 6 deletions

View File

@ -27,7 +27,8 @@ class YT(FastAPI):
}
for endpoint, handler in self.endpoints.items():
app.add_api_route(f"/{endpoint}", handler, methods=["POST"])
app.add_api_route(f"/{endpoint}", handler, methods=["POST"],
include_in_schema=False)
async def yt_video_search_handler(self, data: ValidYTSearchRequest):
"""