Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryber committed Mar 12, 2024
1 parent 0441393 commit 872ebf1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You can use a maven bom to manage the modules:
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java-bom</artifactId>
<version>4.2.4</version>
<version>4.3.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -39,13 +39,13 @@ You can use a maven bom to manage the modules:
<!-- Google GSON -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-object-mappers-gson</artifactId>
<artifactId>unirest-modules-gson</artifactId>
</dependency>

<!-- OR maybe you like Jackson better? -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-objectmapper-jackson</artifactId>
<artifactId>unirest-modules-jackson</artifactId>
</dependency>
</dependencies>
```
Expand Down
13 changes: 5 additions & 8 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ rightmenu: true
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java-bom</artifactId>
<version>4.0.12</version>
<version>4.3.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -68,13 +68,13 @@ rightmenu: true
<!-- Google GSON -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-object-mappers-gson</artifactId>
<artifactId>unirest-modules-gson</artifactId>
</dependency>

<!-- OR maybe you like Jackson better? -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-objectmapper-jackson</artifactId>
<artifactId>unirest-modules-jackson</artifactId>
</dependency>
</dependencies>
```
Expand Down Expand Up @@ -614,17 +614,14 @@ As usual, Unirest maintains a primary single instance. Sometimes you might want
## Object Mappers
Unirest offers a few different Object Mapper's based on popular JSON libraries (Jackson and GSON).
```xml
<!-- https://mvnrepository.com/artifact/com.konghq/unirest-objectmapper-jackson -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-objectmapper-jackson</artifactId>
<artifactId>unirest-modules-jackson</artifactId>
</dependency>


<!-- https://mvnrepository.com/artifact/com.konghq/unirest-object-mappers-gson -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-object-mappers-gson</artifactId>
<artifactId>unirest-modules-gson</artifactId>
</dependency>
```

Expand Down
1 change: 0 additions & 1 deletion unirest-modules-mocks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ class MyTest {


### Future Enhancements
* Mocks currently only work with the regular client and not the async engine.
* Body expectations are limited and do not include forms or files.

0 comments on commit 872ebf1

Please sign in to comment.