diff --git a/.release.json b/.release.json
index 4543e6e..c391079 100644
--- a/.release.json
+++ b/.release.json
@@ -1,9 +1,9 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
- "short_sha": "e92d340",
- "long_sha": "e92d340b84690cce6851fa4a32530ac29911d75a",
+ "short_sha": "a34b6d8",
+ "long_sha": "a34b6d86714f7f74da2d60a33a76ec3a693d264a",
"version": ""
},
- "release": "v4.0.0"
+ "release": "v3.2.0"
}
diff --git a/README.md b/README.md
index 89f83fa..093003d 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ Add this dependency to your project's POM:
com.onfido
onfido-api-java
- 4.0.0
+ 3.2.0
compile
```
@@ -57,7 +57,7 @@ Add this dependency to your project's build file:
}
dependencies {
- implementation "com.onfido:onfido-api-java:4.0.0"
+ implementation "com.onfido:onfido-api-java:3.2.0"
}
```
@@ -71,10 +71,10 @@ mvn clean package
Then manually install the following JARs:
-- `target/onfido-api-java-4.0.0.jar`
+- `target/onfido-api-java-3.2.0.jar`
- `target/lib/*.jar`
-The latest version can be found at: https://search.maven.org/artifact/com.onfido/4.0.0
+The latest version can be found at: https://search.maven.org/artifact/com.onfido/3.2.0
## Getting Started
diff --git a/build.gradle b/build.gradle
index a77b657..75d2e20 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'
group = 'com.onfido'
-version = '4.0.0'
+version = '3.2.0'
buildscript {
repositories {
diff --git a/build.sbt b/build.sbt
index 090f15b..d694652 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.onfido",
name := "onfido-api-java",
- version := "4.0.0",
+ version := "3.2.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
diff --git a/pom.xml b/pom.xml
index 3f8df3c..7541903 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
onfido-api-java
jar
onfido-api-java
- 4.0.0
+ 3.2.0
https://documentation.onfido.com
Official Java API client library for the Onfido API
diff --git a/src/main/java/com/onfido/ApiClient.java b/src/main/java/com/onfido/ApiClient.java
index ef1262a..99537fa 100644
--- a/src/main/java/com/onfido/ApiClient.java
+++ b/src/main/java/com/onfido/ApiClient.java
@@ -160,7 +160,7 @@ private void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("onfido-java/4.0.0");
+ setUserAgent("onfido-java/3.2.0");
authentications = new HashMap();
}
diff --git a/src/main/java/com/onfido/Configuration.java b/src/main/java/com/onfido/Configuration.java
index 82c22a4..13ecca8 100644
--- a/src/main/java/com/onfido/Configuration.java
+++ b/src/main/java/com/onfido/Configuration.java
@@ -15,7 +15,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0")
public class Configuration {
- public static final String VERSION = "4.0.0";
+ public static final String VERSION = "3.2.0";
private static ApiClient defaultApiClient = new ApiClient();
diff --git a/src/main/java/com/onfido/FileTransfer.java b/src/main/java/com/onfido/FileTransfer.java
index 26180d5..625650c 100644
--- a/src/main/java/com/onfido/FileTransfer.java
+++ b/src/main/java/com/onfido/FileTransfer.java
@@ -28,7 +28,7 @@ public FileTransfer(byte[] byteArray, String filename) {
/**
* Create a new file transfer from a File
*
- * @param file File to include in transfer
+ * @param inputFile File to include in transfer
* @throws ApiException
*/
public FileTransfer(File inputFile) {