class OrganizationService extends Service {

  @GET
  @Produces(APPLICATION_JSON)
  @Path("/{organizationId}")
  @ApiOperation(value = "Get organization by id", response = OrganizationDto.class)
  @ApiResponses({
    @ApiResponse(code = 200, message = "The organization successfully fetched"),
    @ApiResponse(code = 404, message = "The organization with given id was not found"),
    @ApiResponse(code = 500, message = "Internal server error occurred")
  })
  public OrganizationDto getById(
      @ApiParam("Organization id") @PathParam("organizationId") String organizationId)
      throws NotFoundException, ServerException {
    return linksInjector.injectLinks(
        asDto(organizationManager.getById(organizationId)), getServiceContext());
  }

  @Inject public  OrganizationService(
      OrganizationManager organizationManager,
      OrganizationLinksInjector linksInjector,
      OrganizationValidator organizationValidator);

}