@VisibleForTesting
  static String sanitizeOpId(String operationId) {
    if (operationId.startsWith("_") || operationId.indexOf("_") != operationId.lastIndexOf("_")) {
      throw new IllegalStateException(
          String.format(
              "Please check the corresponding controller method of %s; Method name in controller may contain underscore illegally.",
              operationId));
    }

    return operationId.contains("_")
        ? operationId.substring(0, operationId.indexOf("_"))
        : operationId;
  }
@Test
  public void testAssumptionOfDefaultOperationId() {
    Assertions.assertDoesNotThrow(() -> MainApplicationConfig.sanitizeOpId("getTable_1"));
    Assertions.assertThrows(
        IllegalStateException.class, () -> MainApplicationConfig.sanitizeOpId("_getTable"));
    Assertions.assertThrows(
        IllegalStateException.class, () -> MainApplicationConfig.sanitizeOpId("get_Table_1"));
  }