@GetMapping("/{id}")
    public ShenyuAdminResult detailRule(@PathVariable("id")
                                        @Valid
                                        @Existed(provider = ScaleRuleMapper.class,
                                                message = "scale role is not existed") final String id) {
        ScaleRuleVO scaleRuleVO = scaleRuleService.findById(id);
        return Optional.ofNullable(scaleRuleVO)
                .map(item -> ShenyuAdminResult.success(ShenyuResultMessage.DETAIL_SUCCESS, item))
                .orElse(ShenyuAdminResult.error(ShenyuResultMessage.DETAIL_FAILED));
    }
detail scale rule.

@param id id
@return ShenyuAdminResult
shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/ScaleRlueController.java