public void listTablesInNamespace(Context ctx) {
    handleNamespace(
        ctx,
        (catalog, database) -> {
          List<TableIdentifier> tableIdentifiers =
              catalog.listTables(database).stream()
                  .map(i -> TableIdentifier.of(database, i.getIdentifier().getTableName()))
                  .collect(Collectors.toList());

          return ListTablesResponse.builder().addAll(tableIdentifiers).build();
        });
  }
GET PREFIX/v1/catalogs/{catalog}/namespaces/{namespace}/tables
amoro-ams/src/main/java/org/apache/amoro/server/RestCatalogService.java