From 4c113474b6360a51be047a394f1157613186ab78 Mon Sep 17 00:00:00 2001 From: Bruno Thomas Date: Tue, 24 Dec 2024 10:42:40 +0000 Subject: [PATCH] fix: user resource html -> md --- .../main/java/org/icij/datashare/web/UserResource.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/datashare-app/src/main/java/org/icij/datashare/web/UserResource.java b/datashare-app/src/main/java/org/icij/datashare/web/UserResource.java index 8fe099cb2..2be4b3ad0 100644 --- a/datashare-app/src/main/java/org/icij/datashare/web/UserResource.java +++ b/datashare-app/src/main/java/org/icij/datashare/web/UserResource.java @@ -104,9 +104,12 @@ private static boolean parseBooleanQueryArg(String desc) { return parseBoolean(desc) || getStringValue(desc).isEmpty() || !desc.equalsIgnoreCase("false"); } - @Operation(description = "Add or update an event to user's history. The event's type, the project ids and the uri are passed in the request body.
" + - "To update the event's name, the eventId is required to retrieve the corresponding event." + - "The project list related to the event is stored in database but is never queried (no filters on project)") + @Operation(description = """ + Add or update an event to user's history. The event's type, the project ids and the uri are passed in the request body. + + To update the event's name, the eventId is required to retrieve the corresponding event. + The project list related to the event is stored in database but is never queried (no filters on project). + """) @ApiResponse(responseCode = "200", description = "returns 200 when event is added or updated.") @Put("/me/history") public Payload addToUserHistory(@Parameter(name = "query", description = "user history query to save", in = ParameterIn.QUERY) UserHistoryQuery query, Context context) {