Small fix
This commit is contained in:
parent
29eb7d765d
commit
c721d05d17
|
@ -24,6 +24,7 @@ import org.opencdmp.controllers.swagger.SwaggerHelpers;
|
||||||
import org.opencdmp.controllers.swagger.annotation.OperationWithTenantHeader;
|
import org.opencdmp.controllers.swagger.annotation.OperationWithTenantHeader;
|
||||||
import org.opencdmp.controllers.swagger.annotation.Swagger400;
|
import org.opencdmp.controllers.swagger.annotation.Swagger400;
|
||||||
import org.opencdmp.controllers.swagger.annotation.Swagger404;
|
import org.opencdmp.controllers.swagger.annotation.Swagger404;
|
||||||
|
import org.opencdmp.controllers.swagger.annotation.SwaggerCommonErrorResponses;
|
||||||
import org.opencdmp.data.EntityDoiEntity;
|
import org.opencdmp.data.EntityDoiEntity;
|
||||||
import org.opencdmp.model.DescriptionTemplateType;
|
import org.opencdmp.model.DescriptionTemplateType;
|
||||||
import org.opencdmp.model.EntityDoi;
|
import org.opencdmp.model.EntityDoi;
|
||||||
|
@ -47,6 +48,7 @@ import java.util.*;
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping(path = "api/entity-doi")
|
@RequestMapping(path = "api/entity-doi")
|
||||||
@Tag(name = "Entity DOIs", description = "Manage entity dois")
|
@Tag(name = "Entity DOIs", description = "Manage entity dois")
|
||||||
|
@SwaggerCommonErrorResponses
|
||||||
public class EntityDoiController {
|
public class EntityDoiController {
|
||||||
|
|
||||||
private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(EntityDoiController.class));
|
private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(EntityDoiController.class));
|
||||||
|
|
Loading…
Reference in New Issue