code: @GetMapping("/setting/download/api/json/all")
      public void downloadApiJsonAll(HttpServletRequest req, HttpServletResponse res) {
          this.validationSessionComponent.sessionCheck(req);
          List<ValidationData> list = this.msgSettingService.getAllValidationData();
          ValidationFileUtil.sendFileToHttpServiceResponse("validation.json", list, res);
      }
docs: Download api json all.
  
  @param req the req
  @param res the res