Skip to content

Commit

Permalink
feat(version): initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
Orkuncakilkaya committed Feb 17, 2023
1 parent 9545c7a commit 4c651e5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.fingerprint</groupId>
<artifactId>fingerprint-pro-server-api-sdk</artifactId>
<version>dev-1.0.0-2</version>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -66,7 +66,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "com.fingerprint:fingerprint-pro-server-api-sdk:dev-1.0.0-2"
implementation "com.fingerprint:fingerprint-pro-server-api-sdk:1.0.0"
}
```

Expand All @@ -80,7 +80,7 @@ At first generate the JAR by executing:

Then manually install the following JARs:

- `target/fingerprint-pro-server-api-sdk-dev-1.0.0-2.jar`
- `target/fingerprint-pro-server-api-sdk-1.0.0.jar`

## Usage

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'com.diffplug.spotless'

group = 'com.fingerprint'
version = 'dev-1.0.0-2'
version = '1.0.0'

buildscript {
repositories {
Expand Down Expand Up @@ -37,7 +37,7 @@ publishing {
artifact jar
groupId 'com.fingerprint'
artifactId 'fingerprint-pro-server-api-sdk'
version 'dev-1.0.0-2'
version '1.0.0'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
artifactVersion: dev-1.0.0-2
artifactVersion: 1.0.0
apiPackage: com.fingerprint.api
modelPackage: com.fingerprint.model
invokerPackage: com.fingerprint.sdk
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION='0.0.0'
VERSION='1.0.0'

while getopts "v:" arg; do
case $arg in
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/api/FingerprintApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class FingerprintApi {
public static final String INTEGRATION_INFO = "fingerprint-pro-server-java-sdk/dev-1.0.0-2";
public static final String INTEGRATION_INFO = "fingerprint-pro-server-java-sdk/1.0.0";
private ApiClient apiClient;

public FingerprintApi() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/sdk/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public ApiClient(Map<String, Authentication> authMap) {
this.dateFormat = new RFC3339DateFormat();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/dev-1.0.0-2/java");
setUserAgent("OpenAPI-Generator/1.0.0/java");

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<String, Authentication>();
Expand Down

0 comments on commit 4c651e5

Please sign in to comment.