diff --git a/services/web/server/src/simcore_service_webserver/director_v2/_models.py b/services/web/server/src/simcore_service_webserver/director_v2/_models.py index 5c42feadd77..06f9b3b1c2c 100644 --- a/services/web/server/src/simcore_service_webserver/director_v2/_models.py +++ b/services/web/server/src/simcore_service_webserver/director_v2/_models.py @@ -45,7 +45,7 @@ def set_default_thumbnail_if_empty(cls, v, values): "examples": [ { "name": "My awesome cluster", - "type": ClusterType.ON_PREMISE.value, # can use also values from equivalent enum + "type": f"{ClusterType.ON_PREMISE}", # can use also values from equivalent enum "endpoint": "https://registry.osparc-development.fake.dev", "authentication": { "type": "simple", @@ -56,7 +56,7 @@ def set_default_thumbnail_if_empty(cls, v, values): { "name": "My AWS cluster", "description": "a AWS cluster administered by me", - "type": ClusterType.AWS.value, + "type": f"{ClusterType.AWS}", "owner": 154, "endpoint": "https://registry.osparc-development.fake.dev", "authentication": {