Skip to content

Commit 4f80fb4

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.17.1 (#113)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.796.3 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 203898d commit 4f80fb4

11 files changed

Lines changed: 68 additions & 51 deletions

File tree

.speakeasy/gen.lock

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
33
management:
4-
docChecksum: edc1d70ac465e8b7ce71bf4303a05851
4+
docChecksum: 78cef1a3e844732b5583bda7a0d7e87c
55
docVersion: 0.9.0
66
speakeasyVersion: 1.796.3
77
generationVersion: 2.934.1
8-
releaseVersion: 0.17.0
9-
configChecksum: 5e6760ca4e8c9fe35434d5c5277c3815
8+
releaseVersion: 0.17.1
9+
configChecksum: 880f10f35975528080a4c2765533de4f
1010
repoURL: https://github.com/gleanwork/api-client-java.git
1111
installationURL: https://github.com/gleanwork/api-client-java
1212
published: true
1313
persistentEdits:
14-
generation_id: 34509b0d-21ec-43fe-b7e9-c65ffb1ba53b
15-
pristine_commit_hash: 29d359b19b5c9fbfe4af3403ce8fb46bc1f6a577
16-
pristine_tree_hash: 389db05890ada6aef5eb720b1b3944e87067ecab
14+
generation_id: 20f7ef01-413e-40a6-98c0-c33479d9a49a
15+
pristine_commit_hash: c0422cc9fd6c77e8cdb7e9ba7100944fa87417b2
16+
pristine_tree_hash: c496c3799722e108367bf1f888ed2ce6b6292b96
1717
features:
1818
java:
1919
acceptHeaders: 2.81.2
@@ -4330,8 +4330,8 @@ trackedFiles:
43304330
pristine_git_object: 6603db8c8828357d67059a746ee541aee6c45301
43314331
docs/sdks/chat/README.md:
43324332
id: 393193527c2c
4333-
last_write_checksum: sha1:5729edbf9825e91e6885d40d3eb1a389b9fbb8c2
4334-
pristine_git_object: dac4d4806aba7cb5cd4e5f9127f1790cd4e348be
4333+
last_write_checksum: sha1:b078c7ba0b2444c1bd3b210933f2d6d4b43d467e
4334+
pristine_git_object: 9589bcaf6db9bd72302c6ba8c3000cd9e00a43e2
43354335
docs/sdks/clientagents/README.md:
43364336
id: 8e00e6d6b64e
43374337
last_write_checksum: sha1:8abee37ed4719ed7b9bacfa7a0bd0e3daf0aae94
@@ -4454,8 +4454,8 @@ trackedFiles:
44544454
pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a
44554455
gradle.properties:
44564456
id: 2afbb999f001
4457-
last_write_checksum: sha1:7aae79dbd6c960500bfbf681208634e98a5cbeb9
4458-
pristine_git_object: 783b11aa17a36087cfc41298e4857ec8e0bcb632
4457+
last_write_checksum: sha1:2be61eb06579c57a02ca1ff3fc5c9dae733a399b
4458+
pristine_git_object: 99278c86a16ea1044f7ca666bbf200be8d714994
44594459
gradle/wrapper/gradle-wrapper.jar:
44604460
id: ec27dae6e852
44614461
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
@@ -4514,8 +4514,8 @@ trackedFiles:
45144514
pristine_git_object: 2e4b82da55703e54e9f737d617789cbda7c1d869
45154515
src/main/java/com/glean/api_client/glean_api_client/AsyncChat.java:
45164516
id: 64a2a6f928f7
4517-
last_write_checksum: sha1:0a5d68f5a531f2f20bd9e7e647fbf020aea23bd6
4518-
pristine_git_object: 60f20d9e8bed311de7c738d4df0fa8e46016d929
4517+
last_write_checksum: sha1:2f05551c0a1d1c4293f714cbb406724c8e44099e
4518+
pristine_git_object: a60cca4d48a01a5bec1bbaf61e53ba1683942553
45194519
src/main/java/com/glean/api_client/glean_api_client/AsyncClient.java:
45204520
id: 4458603ff05d
45214521
last_write_checksum: sha1:eed6f6b62a1760730662b478d997e1002789b813
@@ -4658,8 +4658,8 @@ trackedFiles:
46584658
pristine_git_object: 097ece11f4924877616823c8526babbc38a3b1cb
46594659
src/main/java/com/glean/api_client/glean_api_client/Chat.java:
46604660
id: 84cca4c2d53b
4661-
last_write_checksum: sha1:bff148c946e4611f3f07577af9252672bd8168a8
4662-
pristine_git_object: 922d74dc5321f8f8549e02fcb72d610a3207b6c3
4661+
last_write_checksum: sha1:f975d334bcc8453becc5e7e9a7d35cee46ae2ec1
4662+
pristine_git_object: a13552b4fb7d65ae2757de4b03ccb0aaddcdcfd9
46634663
src/main/java/com/glean/api_client/glean_api_client/Client.java:
46644664
id: 3e1158028401
46654665
last_write_checksum: sha1:141ebab96ffa1eb9416a82c7901cdf8105d9df8d
@@ -4778,8 +4778,8 @@ trackedFiles:
47784778
pristine_git_object: ffae914775eb41ff311371f62504344a59d090fd
47794779
src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java:
47804780
id: d5fcc61f5992
4781-
last_write_checksum: sha1:60164b6812ebebc0d729db5ecf4e9202453c996a
4782-
pristine_git_object: 573b671e3250fe4723203f417f0dae4149a8f860
4781+
last_write_checksum: sha1:4c2df877f4c5adef000da70814a7469b9078cc1c
4782+
pristine_git_object: d86b74f34e18ae4f54bf28f6c8251552f2a300a8
47834783
src/main/java/com/glean/api_client/glean_api_client/Search.java:
47844784
id: f22d94b920b5
47854785
last_write_checksum: sha1:14e024607aebae4b1197445ad31984898c4735a3
@@ -13575,7 +13575,6 @@ generatedTests:
1357513575
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
1357613576
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
1357713577
listpolicies: "2025-06-09T18:03:44Z"
13578-
releaseNotes: "## Java SDK Changes:\n* `glean.chat.create()`: \n * `request.stream` **Changed**\n * `response.status[200].content[text/event-stream` **Removed** (Breaking ⚠️)\n"
1357913578
generatedFiles:
1358013579
- .gitattributes
1358113580
- USAGE.md

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generation:
3030
generateNewTests: false
3131
skipResponseBodyAssertions: false
3232
java:
33-
version: 0.17.0
33+
version: 0.17.1
3434
additionalDependencies: []
3535
additionalPlugins: []
3636
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ openapi: 3.1.0
22
info:
33
version: "0.9.0"
44
title: Glean API
5-
x-source-commit-sha: 5466f502134b80b23f38908bc64369113503fdea
6-
x-open-api-commit-sha: deb9f3c416b47e6ae3ae9af44a4b6a8ba8f61089
5+
x-source-commit-sha: 5385fd04e94476a27a2fbb6d7dc806af5c4d61c8
6+
x-open-api-commit-sha: 78c3048aaa90e6293ba0522adee1866a5613da27
77
description: |
88
# Introduction
99
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -255,7 +255,7 @@ paths:
255255
- Chat
256256
summary: Create a chat response
257257
description: |
258-
Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response object.
258+
Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
259259
operationId: platform-chat-create
260260
x-visibility: Public
261261
x-glean-experimental:
@@ -1737,7 +1737,7 @@ paths:
17371737
- Chat
17381738
summary: SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Create a chat response
17391739
description: |
1740-
SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response object.
1740+
SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
17411741
operationId: platform-chat-create-stream
17421742
x-visibility: Public
17431743
x-glean-experimental:
@@ -7293,7 +7293,7 @@ components:
72937293
stream:
72947294
type: boolean
72957295
description: |
7296-
When true, respond with `text/event-stream`. When false or omitted, respond with `application/json`.
7296+
When true, the HTTP response is `text/event-stream`. When false or omitted, the HTTP response is `application/json`.
72977297
default: false
72987298
store:
72997299
type: boolean

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ speakeasyVersion: 1.796.3
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:c3b4f0e688c6d223d13c83e67e70dc820492ca5fcd414813d666f6fd0f7476f0
6-
sourceBlobDigest: sha256:bded81b38b07e32713883fe38eb46f3f2f1052ed0d3d8f8e3668f14d950eacd3
5+
sourceRevisionDigest: sha256:2b3f26244cb020a2b993f2ab0e89b609ddb1b9de5405cfd6b4f8706080a5a054
6+
sourceBlobDigest: sha256:23c5ad26db734cb51ec976cb1d9eca9d671b5482e8f290e98cf6b06ad4725d5a
77
tags:
88
- latest
99
Glean-OAS:
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:c3b4f0e688c6d223d13c83e67e70dc820492ca5fcd414813d666f6fd0f7476f0
21-
sourceBlobDigest: sha256:bded81b38b07e32713883fe38eb46f3f2f1052ed0d3d8f8e3668f14d950eacd3
20+
sourceRevisionDigest: sha256:2b3f26244cb020a2b993f2ab0e89b609ddb1b9de5405cfd6b4f8706080a5a054
21+
sourceBlobDigest: sha256:23c5ad26db734cb51ec976cb1d9eca9d671b5482e8f290e98cf6b06ad4725d5a
2222
codeSamplesNamespace: glean-api-specs-java-code-samples
23-
codeSamplesRevisionDigest: sha256:60989e3dc4d8fb5c11bc9ef88f44bed1cb0f5cb25b110fb49b5af956be083e6b
23+
codeSamplesRevisionDigest: sha256:155bb88424205d804f9bf3d6d864eb8c669691b36a4186bff5238811b07ac6c9
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ The samples below show how a published SDK artifact is used:
6868

6969
Gradle:
7070
```groovy
71-
implementation 'com.glean.api-client:glean-api-client:0.17.0'
71+
implementation 'com.glean.api-client:glean-api-client:0.17.1'
7272
```
7373

7474
Maven:
7575
```xml
7676
<dependency>
7777
<groupId>com.glean.api-client</groupId>
7878
<artifactId>glean-api-client</artifactId>
79-
<version>0.17.0</version>
79+
<version>0.17.1</version>
8080
</dependency>
8181
```
8282

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,4 +858,14 @@ Based on:
858858
### Generated
859859
- [java v0.17.0] .
860860
### Releases
861-
- [Maven Central v0.17.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.17.0 - .
861+
- [Maven Central v0.17.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.17.0 - .
862+
863+
## 2026-09-02 19:26:58
864+
### Changes
865+
Based on:
866+
- OpenAPI Doc
867+
- Speakeasy CLI 1.796.3 (2.934.1) https://github.com/speakeasy-api/speakeasy
868+
### Generated
869+
- [java v0.17.1] .
870+
### Releases
871+
- [Maven Central v0.17.1] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.17.1 - .

docs/sdks/chat/README.md

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

1010
## create
1111

12-
Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response object.
12+
Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
1313

1414

1515
### Example Usage
@@ -66,7 +66,7 @@ public class Application {
6666

6767
## createStream
6868

69-
SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response object.
69+
SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
7070

7171

7272
### Example Usage

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
groupId=com.glean.api-client
22
artifactId=glean-api-client
3-
version=0.17.0
3+
version=0.17.1
44
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g

src/main/java/com/glean/api_client/glean_api_client/AsyncChat.java

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ public Chat sync() {
4545
/**
4646
* Create a chat response
4747
*
48-
* <p>Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is
49-
* a typed JSON response object.
48+
* <p>Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by
49+
* setting `stream` to true in the JSON body.
50+
*
51+
* <p>An `Accept: text/event-stream` header does not replace `stream`.
5052
*
5153
* @return The async call builder
5254
*/
@@ -57,8 +59,10 @@ public PlatformChatCreateRequestBuilder create() {
5759
/**
5860
* Create a chat response
5961
*
60-
* <p>Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is
61-
* a typed JSON response object.
62+
* <p>Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by
63+
* setting `stream` to true in the JSON body.
64+
*
65+
* <p>An `Accept: text/event-stream` header does not replace `stream`.
6266
*
6367
* @param request The request object containing all the parameters for the API call.
6468
* @return {@code CompletableFuture<PlatformChatCreateResponse>} - The async response
@@ -78,8 +82,8 @@ public CompletableFuture<PlatformChatCreateResponse> create(PlatformChatCreateRe
7882
* <p>SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run
7983
* an assistant turn.
8084
*
81-
* <p>Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response
82-
* object.
85+
* <p>The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in
86+
* the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
8387
*
8488
* @return The async call builder
8589
*/
@@ -94,8 +98,8 @@ public PlatformChatCreateStreamRequestBuilder createStream() {
9498
* <p>SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run
9599
* an assistant turn.
96100
*
97-
* <p>Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response
98-
* object.
101+
* <p>The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in
102+
* the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
99103
*
100104
* @param request The request object containing all the parameters for the API call.
101105
* @return A reactive SSE publisher that emits events from the server.

src/main/java/com/glean/api_client/glean_api_client/Chat.java

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ public AsyncChat async() {
3939
/**
4040
* Create a chat response
4141
*
42-
* <p>Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is
43-
* a typed JSON response object.
42+
* <p>Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by
43+
* setting `stream` to true in the JSON body.
44+
*
45+
* <p>An `Accept: text/event-stream` header does not replace `stream`.
4446
*
4547
* @return The call builder
4648
*/
@@ -51,8 +53,10 @@ public PlatformChatCreateRequestBuilder create() {
5153
/**
5254
* Create a chat response
5355
*
54-
* <p>Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is
55-
* a typed JSON response object.
56+
* <p>Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by
57+
* setting `stream` to true in the JSON body.
58+
*
59+
* <p>An `Accept: text/event-stream` header does not replace `stream`.
5660
*
5761
* @param request The request object containing all the parameters for the API call.
5862
* @return The response from the API call
@@ -71,8 +75,8 @@ public PlatformChatCreateResponse create(PlatformChatCreateRequest request) {
7175
* <p>SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run
7276
* an assistant turn.
7377
*
74-
* <p>Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response
75-
* object.
78+
* <p>The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in
79+
* the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
7680
*
7781
* @return The call builder
7882
*/
@@ -87,8 +91,8 @@ public PlatformChatCreateStreamRequestBuilder createStream() {
8791
* <p>SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run
8892
* an assistant turn.
8993
*
90-
* <p>Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response
91-
* object.
94+
* <p>The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in
95+
* the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
9296
*
9397
* @param request The request object containing all the parameters for the API call.
9498
* @return The response from the API call

0 commit comments

Comments
 (0)