diff --git a/apps/manager/service.py b/apps/manager/service.py index 867600dd6ed1f00ad20a9a084030867eea8c2dce..101f8bdb097e2cc964c8d7aec63aaac1ca0cf760 100644 --- a/apps/manager/service.py +++ b/apps/manager/service.py @@ -113,9 +113,9 @@ class ServiceCenterManager: _id=str(uuid.uuid4()), service_id=service_id, name=endpoint.name, - api_path=f"{endpoint.method} {endpoint.uri}", description=endpoint.description, call_id="api", + path="test path", ).model_dump(), ) yaml_hash = "hash" # TODO: 计算 OpenAPI YAML 文件的哈希值 @@ -162,9 +162,9 @@ class ServiceCenterManager: _id=str(uuid.uuid4()), service_id=service_id, name=endpoint.name, - api_path=f"{endpoint.method} {endpoint.uri}", description=endpoint.description, call_id="api", + path="test path", ).model_dump(), ) yaml_hash = "hash" # TODO: 计算 OpenAPI YAML 文件的哈希值 @@ -205,7 +205,7 @@ class ServiceCenterManager: api_list.extend( ServiceApiData( name=node.name, - path=node.api_path or "", + path="test path", description=node.description, ), )