Skip to content

Commit

Permalink
fix: user resource html -> md
Browse files Browse the repository at this point in the history
  • Loading branch information
bamthomas committed Dec 24, 2024
1 parent 60f7444 commit 4c11347
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br>" +
"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) {
Expand Down

0 comments on commit 4c11347

Please sign in to comment.