コード例 #1
0
 @Path("/{uuid}")
 @GET
 @ApiOperation(value = "Find a mime type.", response = MimeTypeDto.class)
 @ApiResponses({@ApiResponse(code = 403, message = "User isn't admin.")})
 @Override
 public MimeTypeDto find(
     @ApiParam(value = "Uuid of the mime type to search for.", required = true) @PathParam("uuid")
         String uuid)
     throws BusinessException {
   return mimeTypeFacade.find(uuid);
 }