fix: flask_restx namespace path wrong (#24456)
This commit is contained in:
@@ -13,7 +13,7 @@ api = ExternalApi(
|
|||||||
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
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@ api = ExternalApi(
|
|||||||
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
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@ api = ExternalApi(
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user