@GetMapping("/request/badrequest")
    @ResponseStatus(HttpStatus.BAD_REQUEST)
    public ResultBean badRequest() {
        ResultBean response = new ResultBean();
        response.setCode(400);
        return response;
    }
Return bad request code.

@return response. result bean
shenyu-examples/shenyu-examples-http/src/main/java/org/apache/shenyu/examples/http/controller/HttpTestController.java