You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
3
3
The official Java client library for the [Unit API](https://unit.co/docs/api/). This library is the first Unit SDK to be generated from the [Unit OpenAPI schema](https://github.com/unit-finance/openapi-unit-sdk) and is currently available in beta. We encourage you to share any comments, suggestions or issues you encounter while implementing this SDK with us and contribute to the development of this Java client.
4
4
5
-
6
5
## Requirements
7
6
8
7
Building the API client library requires:
@@ -11,7 +10,9 @@ Building the API client library requires:
11
10
2. Maven/Gradle
12
11
13
12
## Installation
13
+
14
14
Add this dependency to your project's POM:
15
+
15
16
```xml
16
17
<repositories>
17
18
<repository>
@@ -24,10 +25,11 @@ Add this dependency to your project's POM:
24
25
<dependency>
25
26
<groupId>co.unit</groupId>
26
27
<artifactId>java-sdk</artifactId>
27
-
<version>0.0.4</version>
28
+
<version>0.0.5</version>
28
29
</dependency>
29
30
</dependencies>
30
31
```
32
+
31
33
## Basic Usage Examples
32
34
33
35
For more examples of basic usage, see the [Test suites](https://github.com/unit-finance/unit-openapi-java-sdk/tree/main/src/test/java/org/openapitools/client) or [API Reference documentation](https://docs.unit.co/).
@@ -73,11 +75,13 @@ UnitCreateApplicationResponse res = apiClient.execute(request);
73
75
```
74
76
75
77
## About
78
+
76
79
To generate a customized version of the unit-java-sdk using our [OpenAPI project](https://github.com/unit-finance/openapi-unit-sdk)
77
80
we suggest using the open-generator-cli to generate the Java client using the following command:
81
+
78
82
```commandline
79
-
openapi-generator-cli generate -g java -i openapi.json -o unit
0 commit comments