class PreparationController {

    @RequestMapping(value = "/preparations/{id}/details", method = GET)
    @ApiOperation(value = "Get preparation details", notes = "Return the details of the preparation with provided id.")
    @Timed
    public PreparationDTO getDetails( //
            @ApiParam("id") @PathVariable("id") String id, //
            @ApiParam(value = "stepId", defaultValue = "head") @RequestParam(value = "stepId",
                    defaultValue = "head") String stepId) {
        return preparationService.getPreparationDetails(id, stepId);
    }

}