class PreparationController {

    @RequestMapping(value = "/preparations/{id}", method = PUT)
    @ApiOperation(value = "Create a preparation", notes = "Returns the id of the updated preparation.")
    @Timed
    public String update(@ApiParam("id") @PathVariable("id") String id,
            @RequestBody @ApiParam("preparation") final PreparationDTO preparation) {
        return preparationService.update(id, preparation);
    }

}