mirror of https://github.com/langgenius/dify.git
fix: flask_restx namespace path wrong (#24456)
This commit is contained in:
parent
bcf42362e3
commit
424fdf4b52
|
|
@ -13,7 +13,7 @@ api = ExternalApi(
|
|||
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
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ api = ExternalApi(
|
|||
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
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ api = ExternalApi(
|
|||
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 .app import annotation, app, audio, completion, conversation, file, file_preview, message, site, workflow
|
||||
|
|
|
|||
Loading…
Reference in New Issue