Skip to content

Commit

Permalink
Restore UserService plain media type
Browse files Browse the repository at this point in the history
  • Loading branch information
barreiro committed Nov 5, 2024
1 parent 4317a2b commit 2891e7e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public interface UserService {
@GET
@Path("defaultTeam")
@Blocking
@Produces(TEXT_PLAIN)
@Operation(description = "Get the default team of the current user.")
@APIResponse(responseCode = "200", content = @Content(mediaType = TEXT_PLAIN, schema = @Schema(type = STRING)))
String defaultTeam();
Expand Down Expand Up @@ -153,6 +154,7 @@ public interface UserService {
@POST
@Path("/apikey")
@Blocking
@Produces(TEXT_PLAIN)
@Operation(description = "Create a new API key.")
@RequestBody(name = "request", required = true, content = @Content(schema = @Schema(type = OBJECT, implementation = ApiKeyRequest.class)))
@APIResponse(responseCode = "200", content = @Content(mediaType = TEXT_PLAIN, schema = @Schema(type = STRING)))
Expand Down

0 comments on commit 2891e7e

Please sign in to comment.