Skip to content

Commit f19de6c

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.761.8
1 parent 8501fff commit f19de6c

124 files changed

Lines changed: 501 additions & 492 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.speakeasy/gen.lock

Lines changed: 244 additions & 245 deletions
Large diffs are not rendered by default.

.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.12.37
33+
version: 0.12.38
3434
additionalDependencies: []
3535
additionalPlugins: []
3636
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: a9a6d4f331a3052d3347e7366e1166f483ff5cb7
5+
x-source-commit-sha: 0aa266469924048ad422bf6314104f79b477e46a
66
description: |
77
# Introduction
88
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.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: bee9d999e037d7c61bcd75eafa0755e05e88dba7
25+
x-open-api-commit-sha: b77f77d6a4c921f86eeceee2f6044f44466a168d
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.761.5
1+
speakeasyVersion: 1.761.8
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:9e0b4fca588f78b58f6328e574fbca05e933d4154bba67ec143ad776d8c8088d
6-
sourceBlobDigest: sha256:b9465f539f87ad950381cb10d709405eb1be8b15b32153fcc868a7f0a621db39
5+
sourceRevisionDigest: sha256:c8b914cdfede6314ba63a8539c1b537e276d3842b39006f678da10834e898b50
6+
sourceBlobDigest: sha256:45e27da482bb511243328d67ea38de2c04927a92b70a8779ee5e8b3b2aa09216
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:9e0b4fca588f78b58f6328e574fbca05e933d4154bba67ec143ad776d8c8088d
21-
sourceBlobDigest: sha256:b9465f539f87ad950381cb10d709405eb1be8b15b32153fcc868a7f0a621db39
20+
sourceRevisionDigest: sha256:c8b914cdfede6314ba63a8539c1b537e276d3842b39006f678da10834e898b50
21+
sourceBlobDigest: sha256:45e27da482bb511243328d67ea38de2c04927a92b70a8779ee5e8b3b2aa09216
2222
codeSamplesNamespace: glean-api-specs-java-code-samples
23-
codeSamplesRevisionDigest: sha256:9ef115f0b038e1f16c2ac6988acbd355d1587a5a5e5d3161d7dd24bb92e6de1b
23+
codeSamplesRevisionDigest: sha256:ae9e0d92820a63defd05d413b6e301b7717405a6b9a992c754166897b2d7cb45
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
@@ -67,15 +67,15 @@ The samples below show how a published SDK artifact is used:
6767

6868
Gradle:
6969
```groovy
70-
implementation 'com.glean.api-client:glean-api-client:0.12.37'
70+
implementation 'com.glean.api-client:glean-api-client:0.12.38'
7171
```
7272

7373
Maven:
7474
```xml
7575
<dependency>
7676
<groupId>com.glean.api-client</groupId>
7777
<artifactId>glean-api-client</artifactId>
78-
<version>0.12.37</version>
78+
<version>0.12.38</version>
7979
</dependency>
8080
```
8181

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,4 +718,14 @@ Based on:
718718
### Generated
719719
- [java v0.12.37] .
720720
### Releases
721-
- [Maven Central v0.12.37] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.37 - .
721+
- [Maven Central v0.12.37] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.37 - .
722+
723+
## 2026-04-19 03:35:26
724+
### Changes
725+
Based on:
726+
- OpenAPI Doc
727+
- Speakeasy CLI 1.761.8 (2.881.2) https://github.com/speakeasy-api/speakeasy
728+
### Generated
729+
- [java v0.12.38] .
730+
### Releases
731+
- [Maven Central v0.12.38] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.38 - .

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.12.37
3+
version=0.12.38
44
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public class SDKConfiguration {
2525

2626
private static final String LANGUAGE = "java";
2727
public static final String OPENAPI_DOC_VERSION = "0.9.0";
28-
public static final String SDK_VERSION = "0.12.37";
29-
public static final String GEN_VERSION = "2.879.13";
28+
public static final String SDK_VERSION = "0.12.38";
29+
public static final String GEN_VERSION = "2.881.2";
3030
private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client";
3131
public static final String USER_AGENT =
3232
String.format("speakeasy-sdk/%s %s %s %s %s",

src/main/java/com/glean/api_client/glean_api_client/operations/Activity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public HttpResponse<InputStream> doRequest(com.glean.api_client.glean_api_client
139139
HttpResponse<InputStream> httpRes;
140140
try {
141141
httpRes = client.send(r);
142-
if (Utils.statusCodeMatches(httpRes.statusCode(), "400", "401", "429", "4XX", "5XX")) {
142+
if (Utils.statusCodeMatches(httpRes.statusCode(), "4XX", "5XX")) {
143143
httpRes = onError(httpRes, null);
144144
} else {
145145
httpRes = onSuccess(httpRes);
@@ -209,7 +209,7 @@ public CompletableFuture<HttpResponse<Blob>> doRequest(com.glean.api_client.glea
209209
if (err != null) {
210210
return onError(null, err);
211211
}
212-
if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "429", "4XX", "5XX")) {
212+
if (Utils.statusCodeMatches(resp.statusCode(), "4XX", "5XX")) {
213213
return onError(resp, null);
214214
}
215215
return CompletableFuture.completedFuture(resp);

src/main/java/com/glean/api_client/glean_api_client/operations/Addcollectionitems.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public HttpResponse<InputStream> doRequest(AddcollectionitemsRequest request) {
146146
HttpResponse<InputStream> httpRes;
147147
try {
148148
httpRes = client.send(r);
149-
if (Utils.statusCodeMatches(httpRes.statusCode(), "400", "401", "429", "4XX", "5XX")) {
149+
if (Utils.statusCodeMatches(httpRes.statusCode(), "4XX", "5XX")) {
150150
httpRes = onError(httpRes, null);
151151
} else {
152152
httpRes = onSuccess(httpRes);
@@ -219,7 +219,7 @@ public CompletableFuture<HttpResponse<Blob>> doRequest(AddcollectionitemsRequest
219219
if (err != null) {
220220
return onError(null, err);
221221
}
222-
if (Utils.statusCodeMatches(resp.statusCode(), "400", "401", "429", "4XX", "5XX")) {
222+
if (Utils.statusCodeMatches(resp.statusCode(), "4XX", "5XX")) {
223223
return onError(resp, null);
224224
}
225225
return CompletableFuture.completedFuture(resp);

0 commit comments

Comments
 (0)