Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.0.2"
".": "0.0.3"
}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 0.0.3 (2025-11-14)

Full Changelog: [v0.0.2...v0.0.3](https://github.com/legalesign/legalesign-rest-java/compare/v0.0.2...v0.0.3)

### Bug Fixes

* **client:** add missing additional properties fields ([3b40c1c](https://github.com/legalesign/legalesign-rest-java/commit/3b40c1c3964a0d5cdf1c02232e8af829d80711cd))
* **client:** deserialization of empty objects ([3b9a391](https://github.com/legalesign/legalesign-rest-java/commit/3b9a3913bb707b72133b4fe387af702b670490b4))
* **client:** multi-value header serialization ([eed465e](https://github.com/legalesign/legalesign-rest-java/commit/eed465e514d181f85b2217b7710a761ba9391741))


### Chores

* **internal:** change some comment formatting ([ea2dd52](https://github.com/legalesign/legalesign-rest-java/commit/ea2dd52c1273e810f79f550bddaef9c6af986c16))

## 0.0.2 (2025-09-23)

Full Changelog: [v0.0.1...v0.0.2](https://github.com/legalesign/legalesign-rest-java/compare/v0.0.1...v0.0.2)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<!-- x-release-please-start-version -->

[![Maven Central](https://img.shields.io/maven-central/v/com.legalesign_sdk.api/legalesign-sdk-java)](https://central.sonatype.com/artifact/com.legalesign_sdk.api/legalesign-sdk-java/0.0.2)
[![javadoc](https://javadoc.io/badge2/com.legalesign_sdk.api/legalesign-sdk-java/0.0.2/javadoc.svg)](https://javadoc.io/doc/com.legalesign_sdk.api/legalesign-sdk-java/0.0.2)
[![Maven Central](https://img.shields.io/maven-central/v/com.legalesign_sdk.api/legalesign-sdk-java)](https://central.sonatype.com/artifact/com.legalesign_sdk.api/legalesign-sdk-java/0.0.3)
[![javadoc](https://javadoc.io/badge2/com.legalesign_sdk.api/legalesign-sdk-java/0.0.3/javadoc.svg)](https://javadoc.io/doc/com.legalesign_sdk.api/legalesign-sdk-java/0.0.3)

<!-- x-release-please-end -->

Expand All @@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).

<!-- x-release-please-start-version -->

The REST API documentation can be found on [legalesign.com](https://legalesign.com/contact/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.legalesign_sdk.api/legalesign-sdk-java/0.0.2).
The REST API documentation can be found on [legalesign.com](https://legalesign.com/contact/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.legalesign_sdk.api/legalesign-sdk-java/0.0.3).

<!-- x-release-please-end -->

Expand All @@ -24,7 +24,7 @@ The REST API documentation can be found on [legalesign.com](https://legalesign.c
### Gradle

```kotlin
implementation("com.legalesign_sdk.api:legalesign-sdk-java:0.0.2")
implementation("com.legalesign_sdk.api:legalesign-sdk-java:0.0.3")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.legalesign_sdk.api:legalesign-sdk-java:0.0.2")
<dependency>
<groupId>com.legalesign_sdk.api</groupId>
<artifactId>legalesign-sdk-java</artifactId>
<version>0.0.2</version>
<version>0.0.3</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {

allprojects {
group = "com.legalesign_sdk.api"
version = "0.0.2" // x-release-please-version
version = "0.0.3" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,19 @@ class OkHttpClient private constructor(private val okHttpClient: okhttp3.OkHttpC

val builder = Request.Builder().url(toUrl()).method(method.name, body)
headers.names().forEach { name ->
headers.values(name).forEach { builder.header(name, it) }
headers.values(name).forEach { builder.addHeader(name, it) }
}

if (
!headers.names().contains("X-Stainless-Read-Timeout") && client.readTimeoutMillis != 0
) {
builder.header(
builder.addHeader(
"X-Stainless-Read-Timeout",
Duration.ofMillis(client.readTimeoutMillis.toLong()).seconds.toString(),
)
}
if (!headers.names().contains("X-Stainless-Timeout") && client.callTimeoutMillis != 0) {
builder.header(
builder.addHeader(
"X-Stainless-Timeout",
Duration.ofMillis(client.callTimeoutMillis.toLong()).seconds.toString(),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,7 @@ private constructor(
* pdf). Also recommended - do_email, auto_archive and pdftext (if using pdf).
*/
class Body
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val group: JsonField<String>,
private val name: JsonField<String>,
Expand Down Expand Up @@ -2422,6 +2423,7 @@ private constructor(
}

class Signer
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val email: JsonField<String>,
private val firstname: JsonField<String>,
Expand Down Expand Up @@ -3119,6 +3121,7 @@ private constructor(
* case to send a document to a group of people where the first who signs, signs.
*/
class Reviewer
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val email: JsonField<String>,
private val firstname: JsonField<String>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import java.util.Objects
import java.util.Optional

class DocumentCreateResponse
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
private val signer1: JsonField<String>,
private val additionalProperties: MutableMap<String, JsonValue>,
Expand Down
Loading
Loading