diff --git a/backend/web/src/main/java/org/opencdmp/controllers/EntityDoiController.java b/backend/web/src/main/java/org/opencdmp/controllers/EntityDoiController.java index 9a7760fae..58ba122aa 100644 --- a/backend/web/src/main/java/org/opencdmp/controllers/EntityDoiController.java +++ b/backend/web/src/main/java/org/opencdmp/controllers/EntityDoiController.java @@ -24,6 +24,7 @@ import org.opencdmp.controllers.swagger.SwaggerHelpers; import org.opencdmp.controllers.swagger.annotation.OperationWithTenantHeader; import org.opencdmp.controllers.swagger.annotation.Swagger400; import org.opencdmp.controllers.swagger.annotation.Swagger404; +import org.opencdmp.controllers.swagger.annotation.SwaggerCommonErrorResponses; import org.opencdmp.data.EntityDoiEntity; import org.opencdmp.model.DescriptionTemplateType; import org.opencdmp.model.EntityDoi; @@ -47,6 +48,7 @@ import java.util.*; @RestController @RequestMapping(path = "api/entity-doi") @Tag(name = "Entity DOIs", description = "Manage entity dois") +@SwaggerCommonErrorResponses public class EntityDoiController { private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(EntityDoiController.class)); diff --git a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html index 8bd788b90..83976ff93 100644 --- a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html +++ b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html @@ -1,6 +1,6 @@
-
+
@@ -201,7 +201,7 @@

{{ dmpUser.user?.name }}

-

{{ userName }} +

{{ userName }} ({{ 'DESCRIPTION-OVERVIEW.YOU' | translate }})

diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html index 02dc3bb45..0e38886e0 100644 --- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html +++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html @@ -1,6 +1,6 @@
-
+
@@ -256,7 +256,7 @@

{{ dmpUser.user?.name }}

-

{{ userName }} +

{{ userName }} ({{ 'DMP-OVERVIEW.YOU' | translate }})