| doc="/docs", # Enable Swagger UI at /files/docs | doc="/docs", # Enable Swagger UI at /files/docs | ||||
| ) | ) | ||||
| files_ns = Namespace("files", description="File operations") | |||||
| files_ns = Namespace("files", description="File operations", path="/") | |||||
| from . import image_preview, tool_files, upload | from . import image_preview, tool_files, upload | ||||
| doc="/docs", # Enable Swagger UI at /mcp/docs | doc="/docs", # Enable Swagger UI at /mcp/docs | ||||
| ) | ) | ||||
| mcp_ns = Namespace("mcp", description="MCP operations") | |||||
| mcp_ns = Namespace("mcp", description="MCP operations", path="/") | |||||
| from . import mcp | from . import mcp | ||||
| doc="/docs", # Enable Swagger UI at /v1/docs | doc="/docs", # Enable Swagger UI at /v1/docs | ||||
| ) | ) | ||||
| service_api_ns = Namespace("service_api", description="Service operations") | |||||
| service_api_ns = Namespace("service_api", description="Service operations", path="/") | |||||
| from . import index | from . import index | ||||
| from .app import annotation, app, audio, completion, conversation, file, file_preview, message, site, workflow | from .app import annotation, app, audio, completion, conversation, file, file_preview, message, site, workflow |