Skip to content
Merged
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.1.0-alpha.46"
".": "0.1.0-alpha.47"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 103
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-95a3d7780935a38e0cf076d4ad2d68bd1a5641bced8398d972db2e92751d364a.yml
openapi_spec_hash: 9ebe818c4ad4f2d9c4e473b5192d7544
config_hash: 3dc5bc1df028fc7301fb2ada9846f038
config_hash: 54edf41f0377bc235f622fdaa7405f22
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## 0.1.0-alpha.47 (2025-04-07)

Full Changelog: [v0.1.0-alpha.46...v0.1.0-alpha.47](https://github.com/orbcorp/orb-kotlin/compare/v0.1.0-alpha.46...v0.1.0-alpha.47)

### Features

* **client:** expose request body setter and getter ([#346](https://github.com/orbcorp/orb-kotlin/issues/346)) ([0e0965d](https://github.com/orbcorp/orb-kotlin/commit/0e0965d8c2195326d430cdb8c11804d972995663))


### Bug Fixes

* **api:** naming for sync_payment_methods methods ([#351](https://github.com/orbcorp/orb-kotlin/issues/351)) ([00120a1](https://github.com/orbcorp/orb-kotlin/commit/00120a145d3e4cc29e56c2da60bb4ec2330ee131))


### Chores

* **internal:** codegen related update ([#348](https://github.com/orbcorp/orb-kotlin/issues/348)) ([7900ed7](https://github.com/orbcorp/orb-kotlin/commit/7900ed75a3763aae4bcce5875835068cc5c39f5e))


### Documentation

* add comments to `JsonField` classes ([#349](https://github.com/orbcorp/orb-kotlin/issues/349)) ([7e440ba](https://github.com/orbcorp/orb-kotlin/commit/7e440ba16b1455d2a3c6e35eb0ac1d259fd9d391))
* document how to forcibly omit required field ([51cb762](https://github.com/orbcorp/orb-kotlin/commit/51cb76259150387df200996952cc29c4bce048a6))
* swap examples used in readme ([#350](https://github.com/orbcorp/orb-kotlin/issues/350)) ([51cb762](https://github.com/orbcorp/orb-kotlin/commit/51cb76259150387df200996952cc29c4bce048a6))

## 0.1.0-alpha.46 (2025-04-02)

Full Changelog: [v0.1.0-alpha.45...v0.1.0-alpha.46](https://github.com/orbcorp/orb-kotlin/compare/v0.1.0-alpha.45...v0.1.0-alpha.46)
Expand Down
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

[![Maven Central](https://img.shields.io/maven-central/v/com.withorb.api/orb-kotlin)](https://central.sonatype.com/artifact/com.withorb.api/orb-kotlin/0.1.0-alpha.46)
[![Maven Central](https://img.shields.io/maven-central/v/com.withorb.api/orb-kotlin)](https://central.sonatype.com/artifact/com.withorb.api/orb-kotlin/0.1.0-alpha.47)

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

Expand All @@ -19,7 +19,7 @@ The REST API documentation can be found on [docs.withorb.com](https://docs.witho
### Gradle

```kotlin
implementation("com.withorb.api:orb-kotlin:0.1.0-alpha.46")
implementation("com.withorb.api:orb-kotlin:0.1.0-alpha.47")
```

### Maven
Expand All @@ -28,7 +28,7 @@ implementation("com.withorb.api:orb-kotlin:0.1.0-alpha.46")
<dependency>
<groupId>com.withorb.api</groupId>
<artifactId>orb-kotlin</artifactId>
<version>0.1.0-alpha.46</version>
<version>0.1.0-alpha.47</version>
</dependency>
```

Expand Down Expand Up @@ -442,6 +442,20 @@ val complexValue: JsonValue = JsonValue.from(mapOf(
))
```

Normally a `Builder` class's `build` method will throw [`IllegalStateException`](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html) if any required parameter or property is unset.

To forcibly omit a required parameter or property, pass [`JsonMissing`](orb-kotlin-core/src/main/kotlin/com/withorb/api/core/Values.kt):

```kotlin
import com.withorb.api.core.JsonMissing
import com.withorb.api.models.CustomerCreateParams

val params: CustomerCreateParams = CustomerCreateParams.builder()
.name("x")
.email(JsonMissing.of())
.build()
```

### Response properties

To access undocumented response properties, call the `_additionalProperties()` method:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
allprojects {
group = "com.withorb.api"
version = "0.1.0-alpha.46" // x-release-please-version
version = "0.1.0-alpha.47" // x-release-please-version
}
Loading