diff --git a/src/main/java/org/olat/modules/curriculum/restapi/CurriculumsWebService.java b/src/main/java/org/olat/modules/curriculum/restapi/CurriculumsWebService.java
index d51ab2a1062a1e2a2a5c553ffa210ddfec3483d5..a69504263070206ed82d6de0c9b9fe90db0d05e2 100644
--- a/src/main/java/org/olat/modules/curriculum/restapi/CurriculumsWebService.java
+++ b/src/main/java/org/olat/modules/curriculum/restapi/CurriculumsWebService.java
@@ -67,7 +67,6 @@ import io.swagger.v3.oas.annotations.media.ArraySchema;
 import io.swagger.v3.oas.annotations.media.Content;
 import io.swagger.v3.oas.annotations.media.Schema;
 import io.swagger.v3.oas.annotations.responses.ApiResponse;
-import io.swagger.v3.oas.annotations.responses.ApiResponses;
 import io.swagger.v3.oas.annotations.tags.Tag;
 
 /**
@@ -335,17 +334,15 @@ public class CurriculumsWebService {
 	@GET
 	@Path("elements")
 	@Operation(summary = "Get the elements of all curriculums",
-	description = "Get all the elements of all curriculums")
-	@ApiResponses(value = {
-			@ApiResponse(responseCode = "200", description = "The elements",
-					content = {
-							@Content(mediaType = "application/json", array = @ArraySchema(schema = @Schema(implementation = CurriculumElementVO.class))),
-							@Content(mediaType = "application/xml", array = @ArraySchema(schema = @Schema(implementation = CurriculumElementVO.class)))
-						} 
-			),
-			@ApiResponse(responseCode = "401", description = "The roles of the authenticated user are not sufficient"),
-			@ApiResponse(responseCode = "406", description = "application/xml, application/json")}
-		)
+	description = "Get all the elements of all curriculums")	
+	@ApiResponse(responseCode = "200", description = "The elements",
+			content = {
+					@Content(mediaType = "application/json", array = @ArraySchema(schema = @Schema(implementation = CurriculumElementVO.class))),
+					@Content(mediaType = "application/xml", array = @ArraySchema(schema = @Schema(implementation = CurriculumElementVO.class)))
+				} 
+	)
+	@ApiResponse(responseCode = "401", description = "The roles of the authenticated user are not sufficient")
+	@ApiResponse(responseCode = "406", description = "application/xml, application/json")
 	public Response searchCurriculumElement(@QueryParam("externalId") String externalId, @QueryParam("identifier") String identifier,
 			@QueryParam("key") Long key, @Context HttpServletRequest httpRequest) {
 		Roles roles = getRoles(httpRequest);
diff --git a/src/main/java/org/olat/restapi/system/ThreadsWebService.java b/src/main/java/org/olat/restapi/system/ThreadsWebService.java
index 69b3ff13c27d93368729572a69b60b010e5508ba..8a2bc2b25b04fc25746d8182bb133a43a680ab16 100644
--- a/src/main/java/org/olat/restapi/system/ThreadsWebService.java
+++ b/src/main/java/org/olat/restapi/system/ThreadsWebService.java
@@ -43,7 +43,6 @@ import io.swagger.v3.oas.annotations.media.ArraySchema;
 import io.swagger.v3.oas.annotations.media.Content;
 import io.swagger.v3.oas.annotations.media.Schema;
 import io.swagger.v3.oas.annotations.responses.ApiResponse;
-import io.swagger.v3.oas.annotations.responses.ApiResponses;
 
 /**
  * 
@@ -62,9 +61,8 @@ public class ThreadsWebService implements Sampler {
 	
 	@GET
 	@Operation(summary = "Retrieve threads info", description = "Retrieve information about threads count and number of deamons")
-	@ApiResponses({
-			@ApiResponse(responseCode = "200", description = "The infos", content = {
-					@Content(mediaType = "text") }) })	
+	@ApiResponse(responseCode = "200", description = "The infos", content = {
+		@Content(mediaType = "text") })
 	@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
 	public Response getThreadsXml() {
 		ThreadMXBean bean = ManagementFactory.getThreadMXBean();