Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
strategy:
matrix:
java-version:
- "25"
- "21"
- "17"
- "11"
- "8"
distribution:
- "temurin"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_publish-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: "8"
java-version: "11"
distribution: "adopt"
server-id: central
server-username: MAVEN_USERNAME
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/_test-code-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
java-version:
- "25"
- "11"
- "8"
distribution:
- "temurin"

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/_test-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ jobs:
strategy:
matrix:
java-version:
- "21"
- "25"
- "11"
- "8"
distribution:
- "temurin"

Expand Down
41 changes: 0 additions & 41 deletions docs/code_samples/bank_account_details_v1.txt

This file was deleted.

10 changes: 5 additions & 5 deletions docs/code_samples/bank_account_details_v2.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.mindee.MindeeClient;
import com.mindee.input.LocalInputSource;
import com.mindee.parsing.common.PredictResponse;
import com.mindee.product.fr.bankaccountdetails.BankAccountDetailsV2;
import com.mindee.v1.MindeeClient;
import com.mindee.v1.parsing.common.PredictResponse;
import com.mindee.v1.product.fr.bankaccountdetails.BankAccountDetailsV2;
import java.io.File;
import java.io.IOException;

Expand All @@ -12,10 +12,10 @@ public class SimpleMindeeClientV1 {
String filePath = "/path/to/the/file.ext";

// Init a new client
MindeeClient mindeeClient = new MindeeClient(apiKey);
var mindeeClient = new MindeeClient(apiKey);

// Load a file from disk
LocalInputSource inputSource = new LocalInputSource(filePath);
var inputSource = new LocalInputSource(filePath);

// Parse the file
PredictResponse<BankAccountDetailsV2> response = mindeeClient.parse(
Expand Down
41 changes: 0 additions & 41 deletions docs/code_samples/bank_check_v1.txt

This file was deleted.

10 changes: 5 additions & 5 deletions docs/code_samples/barcode_reader_v1.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.mindee.MindeeClient;
import com.mindee.input.LocalInputSource;
import com.mindee.parsing.common.PredictResponse;
import com.mindee.product.barcodereader.BarcodeReaderV1;
import com.mindee.v1.MindeeClient;
import com.mindee.v1.parsing.common.PredictResponse;
import com.mindee.v1.product.barcodereader.BarcodeReaderV1;
import java.io.File;
import java.io.IOException;

Expand All @@ -12,10 +12,10 @@ public class SimpleMindeeClientV1 {
String filePath = "/path/to/the/file.ext";

// Init a new client
MindeeClient mindeeClient = new MindeeClient(apiKey);
var mindeeClient = new MindeeClient(apiKey);

// Load a file from disk
LocalInputSource inputSource = new LocalInputSource(filePath);
var inputSource = new LocalInputSource(filePath);

// Parse the file
PredictResponse<BarcodeReaderV1> response = mindeeClient.parse(
Expand Down
41 changes: 0 additions & 41 deletions docs/code_samples/bill_of_lading_v1_async.txt

This file was deleted.

41 changes: 0 additions & 41 deletions docs/code_samples/business_card_v1_async.txt

This file was deleted.

10 changes: 5 additions & 5 deletions docs/code_samples/carte_grise_v1.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.mindee.MindeeClient;
import com.mindee.input.LocalInputSource;
import com.mindee.parsing.common.PredictResponse;
import com.mindee.product.fr.cartegrise.CarteGriseV1;
import com.mindee.v1.MindeeClient;
import com.mindee.v1.parsing.common.PredictResponse;
import com.mindee.v1.product.fr.cartegrise.CarteGriseV1;
import java.io.File;
import java.io.IOException;

Expand All @@ -12,10 +12,10 @@ public class SimpleMindeeClientV1 {
String filePath = "/path/to/the/file.ext";

// Init a new client
MindeeClient mindeeClient = new MindeeClient(apiKey);
var mindeeClient = new MindeeClient(apiKey);

// Load a file from disk
LocalInputSource inputSource = new LocalInputSource(filePath);
var inputSource = new LocalInputSource(filePath);

// Parse the file
PredictResponse<CarteGriseV1> response = mindeeClient.parse(
Expand Down
10 changes: 5 additions & 5 deletions docs/code_samples/cropper_v1.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.mindee.MindeeClient;
import com.mindee.input.LocalInputSource;
import com.mindee.parsing.common.PredictResponse;
import com.mindee.product.cropper.CropperV1;
import com.mindee.v1.MindeeClient;
import com.mindee.v1.parsing.common.PredictResponse;
import com.mindee.v1.product.cropper.CropperV1;
import java.io.File;
import java.io.IOException;

Expand All @@ -12,10 +12,10 @@ public class SimpleMindeeClientV1 {
String filePath = "/path/to/the/file.ext";

// Init a new client
MindeeClient mindeeClient = new MindeeClient(apiKey);
var mindeeClient = new MindeeClient(apiKey);

// Load a file from disk
LocalInputSource inputSource = new LocalInputSource(filePath);
var inputSource = new LocalInputSource(filePath);

// Parse the file
PredictResponse<CropperV1> response = mindeeClient.parse(
Expand Down
48 changes: 0 additions & 48 deletions docs/code_samples/custom_v1.txt

This file was deleted.

12 changes: 6 additions & 6 deletions docs/code_samples/default.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import com.mindee.MindeeClient;
import com.mindee.input.LocalInputSource;
import com.mindee.parsing.common.PredictResponse;
import com.mindee.product.generated.GeneratedV1;
import com.mindee.http.Endpoint;
import com.mindee.v1.MindeeClient;
import com.mindee.v1.parsing.common.PredictResponse;
import com.mindee.v1.product.generated.GeneratedV1;
import com.mindee.v1.http.Endpoint;
import java.io.File;
import java.io.IOException;

Expand All @@ -13,10 +13,10 @@ public class SimpleMindeeClientV1 {
String filePath = "/path/to/the/file.ext";

// Init a new client
MindeeClient mindeeClient = new MindeeClient(apiKey);
var mindeeClient = new MindeeClient(apiKey);

// Load a file from disk
LocalInputSource inputSource = new LocalInputSource(new File(filePath));
var inputSource = new LocalInputSource(new File(filePath));

// Configure the endpoint
Endpoint endpoint = new Endpoint(
Expand Down
Loading
Loading