Skip to content

Commit c660cb0

Browse files
authored
fix: bump of remaining version mentions and yaml schema update (#27)
1 parent c6aabf0 commit c660cb0

File tree

3 files changed

+485
-245
lines changed

3 files changed

+485
-245
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
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.
44

5-
65
## Requirements
76

87
Building the API client library requires:
@@ -11,7 +10,9 @@ Building the API client library requires:
1110
2. Maven/Gradle
1211

1312
## Installation
13+
1414
Add this dependency to your project's POM:
15+
1516
```xml
1617
<repositories>
1718
<repository>
@@ -24,10 +25,11 @@ Add this dependency to your project's POM:
2425
<dependency>
2526
<groupId>co.unit</groupId>
2627
<artifactId>java-sdk</artifactId>
27-
<version>0.0.4</version>
28+
<version>0.0.5</version>
2829
</dependency>
2930
</dependencies>
3031
```
32+
3133
## Basic Usage Examples
3234

3335
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);
7375
```
7476

7577
## About
78+
7679
To generate a customized version of the unit-java-sdk using our [OpenAPI project](https://github.com/unit-finance/openapi-unit-sdk)
7780
we suggest using the open-generator-cli to generate the Java client using the following command:
81+
7882
```commandline
79-
openapi-generator-cli generate -g java -i openapi.json -o unit
80-
-p hideGenerationTimestamp=true -p packageName=unit.java.sdk
81-
-p modelPackage=unit.java.sdk.model -p apiPackage=unit.java.sdk.api
83+
openapi-generator-cli generate -g java -i openapi.json -o unit
84+
-p hideGenerationTimestamp=true -p packageName=unit.java.sdk
85+
-p modelPackage=unit.java.sdk.model -p apiPackage=unit.java.sdk.api
8286
--library native -p useJakartaEe=true
8387
```

0 commit comments

Comments
 (0)