diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 75ec52fc..2d96c4d3 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "2.3.0"
+ ".": "2.3.1"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 9aad2898..e84a2b32 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 86
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-d4bcffecf0cdadf746faa6708ed1ec81fac451f9b857deabbab26f0a343b9314.yml
openapi_spec_hash: 7c54a18b4381248bda7cc34c52142615
-config_hash: d23f847b9ebb3f427d0f198035bd3e9f
+config_hash: e618aa8ff61aea826540916336de65a6
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 27bc5ecf..9033076b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 2.3.1 (2025-06-02)
+
+Full Changelog: [v2.3.0...v2.3.1](https://github.com/openai/openai-java/compare/v2.3.0...v2.3.1)
+
+### Bug Fixes
+
+* **client:** `hasNextPage` impl for some classes ([32e968f](https://github.com/openai/openai-java/commit/32e968f096ec8d16ef98f8152b729a5d82daea34))
+
## 2.3.0 (2025-05-29)
Full Changelog: [v2.2.1...v2.3.0](https://github.com/openai/openai-java/compare/v2.2.1...v2.3.0)
diff --git a/README.md b/README.md
index f5caddb7..692081d1 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.openai/openai-java/2.3.0)
-[](https://javadoc.io/doc/com.openai/openai-java/2.3.0)
+[](https://central.sonatype.com/artifact/com.openai/openai-java/2.3.1)
+[](https://javadoc.io/doc/com.openai/openai-java/2.3.1)
@@ -11,7 +11,7 @@ The OpenAI Java SDK provides convenient access to the [OpenAI REST API](https://
-The REST API documentation can be found on [platform.openai.com](https://platform.openai.com/docs). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.openai/openai-java/2.3.0).
+The REST API documentation can be found on [platform.openai.com](https://platform.openai.com/docs). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.openai/openai-java/2.3.1).
@@ -22,7 +22,7 @@ The REST API documentation can be found on [platform.openai.com](https://platfor
### Gradle
```kotlin
-implementation("com.openai:openai-java:2.3.0")
+implementation("com.openai:openai-java:2.3.1")
```
### Maven
@@ -31,7 +31,7 @@ implementation("com.openai:openai-java:2.3.0")
com.openai
openai-java
- 2.3.0
+ 2.3.1
```
diff --git a/build.gradle.kts b/build.gradle.kts
index fb9792f5..e1706e15 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.openai"
- version = "2.3.0" // x-release-please-version
+ version = "2.3.1" // x-release-please-version
}
subprojects {
diff --git a/openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePage.kt b/openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePage.kt
index fd72758d..e6d2abee 100644
--- a/openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePage.kt
+++ b/openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePage.kt
@@ -31,7 +31,7 @@ private constructor(
override fun items(): List = data()
- override fun hasNextPage(): Boolean = items().isNotEmpty()
+ override fun hasNextPage(): Boolean = false
fun nextPageParams(): PermissionCreateParams =
throw IllegalStateException("Cannot construct next page params")
diff --git a/openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePageAsync.kt b/openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePageAsync.kt
index c67b8a80..de392990 100644
--- a/openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePageAsync.kt
+++ b/openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePageAsync.kt
@@ -34,7 +34,7 @@ private constructor(
override fun items(): List = data()
- override fun hasNextPage(): Boolean = items().isNotEmpty()
+ override fun hasNextPage(): Boolean = false
fun nextPageParams(): PermissionCreateParams =
throw IllegalStateException("Cannot construct next page params")
diff --git a/openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPage.kt b/openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPage.kt
index 9ce4bde9..6914f156 100644
--- a/openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPage.kt
+++ b/openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPage.kt
@@ -30,7 +30,7 @@ private constructor(
override fun items(): List = data()
- override fun hasNextPage(): Boolean = items().isNotEmpty()
+ override fun hasNextPage(): Boolean = false
fun nextPageParams(): ModelListParams =
throw IllegalStateException("Cannot construct next page params")
diff --git a/openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPageAsync.kt b/openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPageAsync.kt
index 335ac20c..a53aee25 100644
--- a/openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPageAsync.kt
+++ b/openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPageAsync.kt
@@ -33,7 +33,7 @@ private constructor(
override fun items(): List = data()
- override fun hasNextPage(): Boolean = items().isNotEmpty()
+ override fun hasNextPage(): Boolean = false
fun nextPageParams(): ModelListParams =
throw IllegalStateException("Cannot construct next page params")
diff --git a/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/VectorStoreSearchPage.kt b/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/VectorStoreSearchPage.kt
index a45345a0..ccb9ef74 100644
--- a/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/VectorStoreSearchPage.kt
+++ b/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/VectorStoreSearchPage.kt
@@ -31,7 +31,7 @@ private constructor(
override fun items(): List = data()
- override fun hasNextPage(): Boolean = items().isNotEmpty()
+ override fun hasNextPage(): Boolean = false
fun nextPageParams(): VectorStoreSearchParams =
throw IllegalStateException("Cannot construct next page params")
diff --git a/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/VectorStoreSearchPageAsync.kt b/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/VectorStoreSearchPageAsync.kt
index 00431ef9..b1291229 100644
--- a/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/VectorStoreSearchPageAsync.kt
+++ b/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/VectorStoreSearchPageAsync.kt
@@ -34,7 +34,7 @@ private constructor(
override fun items(): List = data()
- override fun hasNextPage(): Boolean = items().isNotEmpty()
+ override fun hasNextPage(): Boolean = false
fun nextPageParams(): VectorStoreSearchParams =
throw IllegalStateException("Cannot construct next page params")
diff --git a/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPage.kt b/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPage.kt
index e1980ef9..940de9c9 100644
--- a/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPage.kt
+++ b/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPage.kt
@@ -31,7 +31,7 @@ private constructor(
override fun items(): List = data()
- override fun hasNextPage(): Boolean = items().isNotEmpty()
+ override fun hasNextPage(): Boolean = false
fun nextPageParams(): FileContentParams =
throw IllegalStateException("Cannot construct next page params")
diff --git a/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPageAsync.kt b/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPageAsync.kt
index 30fb9db2..c081b727 100644
--- a/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPageAsync.kt
+++ b/openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPageAsync.kt
@@ -34,7 +34,7 @@ private constructor(
override fun items(): List = data()
- override fun hasNextPage(): Boolean = items().isNotEmpty()
+ override fun hasNextPage(): Boolean = false
fun nextPageParams(): FileContentParams =
throw IllegalStateException("Cannot construct next page params")