diff --git a/services/catalog/src/simcore_service_catalog/api/rest/_services.py b/services/catalog/src/simcore_service_catalog/api/rest/_services.py index e2abc23d179..78362d63733 100644 --- a/services/catalog/src/simcore_service_catalog/api/rest/_services.py +++ b/services/catalog/src/simcore_service_catalog/api/rest/_services.py @@ -9,6 +9,7 @@ from fastapi import APIRouter, Depends, Header, HTTPException, status from models_library.api_schemas_catalog.services import ServiceGet, ServiceUpdate from models_library.services import ServiceKey, ServiceType, ServiceVersion +from models_library.services_authoring import Author from models_library.services_metadata_published import ServiceMetaDataPublished from pydantic import ValidationError from pydantic.types import PositiveInt @@ -127,7 +128,11 @@ async def list_services( name="nodetails", description="nodetails", type=ServiceType.COMPUTATIONAL, - authors=[{"name": "nodetails", "email": "nodetails@nodetails.com"}], + authors=[ + Author.model_construct( + name="nodetails", email="nodetails@nodetails.com" + ) + ], contact="nodetails@nodetails.com", inputs={}, outputs={},