Skip to content

Commit 0e63e72

Browse files
Merge pull request #52 from gleanwork/speakeasy-sdk-regen-1763167769
chore: 🐝 Update SDK - Generate 0.12.4
2 parents 5097c4c + c4d8fc4 commit 0e63e72

File tree

10 files changed

+46
-29
lines changed

10 files changed

+46
-29
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
33
management:
4-
docChecksum: 2dcefd4e1803d98e97ba5e2c1b4b7b06
4+
docChecksum: 648d674fdd05aad794f8dd9965d820b5
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.657.0
7-
generationVersion: 2.755.0
8-
releaseVersion: 0.12.3
9-
configChecksum: bc3d941c664f9f90addeb98ff9b41123
6+
speakeasyVersion: 1.658.1
7+
generationVersion: 2.755.6
8+
releaseVersion: 0.12.4
9+
configChecksum: 1ac0890dc2b893f3b27af300186dea88
1010
repoURL: https://github.com/gleanwork/api-client-java.git
1111
published: true
1212
features:

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
java:
28-
version: 0.12.3
28+
version: 0.12.4
2929
additionalDependencies: []
3030
additionalPlugins: []
3131
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 4 additions & 3 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: 8f565e6072898e4f6fca86fa97978efc4ea33975
5+
x-source-commit-sha: 3c1d4f5f7b2de021e7e5ab5dff962254c16aa5db
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: 82065b6c142bd74beb1f8c2e670ac7dd81e45ebd
25+
x-open-api-commit-sha: b20a53af8a9aee1fd48c351fe14b4b12c8eefd12
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -11240,7 +11240,8 @@ components:
1124011240
The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**'
1124111241
id:
1124211242
type: string
11243-
description: The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length.
11243+
description: |
11244+
The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025
1124411245
summary:
1124511246
$ref: "#/components/schemas/ContentDefinition"
1124611247
body:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.657.0
1+
speakeasyVersion: 1.658.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:fd35d47c584495c0f29e30f502ee3f6bde461142a6d2bb69c0822440494c1d41
6-
sourceBlobDigest: sha256:de7302488181d96aed6b8d230db6667f83ec481bf6c1c5295778c358a32ebb68
5+
sourceRevisionDigest: sha256:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97
6+
sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763146007
9+
- speakeasy-sdk-regen-1763167769
1010
Glean-OAS:
1111
sourceNamespace: glean-oas
1212
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:fd35d47c584495c0f29e30f502ee3f6bde461142a6d2bb69c0822440494c1d41
22-
sourceBlobDigest: sha256:de7302488181d96aed6b8d230db6667f83ec481bf6c1c5295778c358a32ebb68
21+
sourceRevisionDigest: sha256:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97
22+
sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:4dd9273f3a00ad034561e4764cfe3bcab20a077fdc873d511f301e7f64263ddf
24+
codeSamplesRevisionDigest: sha256:ba6b2b5237893ce55ba5b7d4515757a4ffac68803b36bcd3dd3739ddf0fceae7
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

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

6666
Gradle:
6767
```groovy
68-
implementation 'com.glean.api-client:glean-api-client:0.12.3'
68+
implementation 'com.glean.api-client:glean-api-client:0.12.4'
6969
```
7070

7171
Maven:
7272
```xml
7373
<dependency>
7474
<groupId>com.glean.api-client</groupId>
7575
<artifactId>glean-api-client</artifactId>
76-
<version>0.12.3</version>
76+
<version>0.12.4</version>
7777
</dependency>
7878
```
7979

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,4 +378,14 @@ Based on:
378378
### Generated
379379
- [java v0.12.3] .
380380
### Releases
381-
- [Maven Central v0.12.3] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.3 - .
381+
- [Maven Central v0.12.3] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.3 - .
382+
383+
## 2025-11-17 11:23:37
384+
### Changes
385+
Based on:
386+
- OpenAPI Doc
387+
- Speakeasy CLI 1.658.1 (2.755.6) https://github.com/speakeasy-api/speakeasy
388+
### Generated
389+
- [java v0.12.4] .
390+
### Releases
391+
- [Maven Central v0.12.4] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.4 - .

docs/models/components/DocumentDefinition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Indexable document structure
1515
| `datasource` | *String* | :heavy_check_mark: | N/A |
1616
| `objectType` | *Optional\<String>* | :heavy_minus_sign: | The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ |
1717
| `viewURL` | *Optional\<String>* | :heavy_minus_sign: | The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**'<br/> |
18-
| `id` | *Optional\<String>* | :heavy_minus_sign: | The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. |
18+
| `id` | *Optional\<String>* | :heavy_minus_sign: | The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025<br/> |
1919
| `summary` | [Optional\<ContentDefinition>](../../models/components/ContentDefinition.md) | :heavy_minus_sign: | Describes text content or base64 encoded binary content |
2020
| `body` | [Optional\<ContentDefinition>](../../models/components/ContentDefinition.md) | :heavy_minus_sign: | Describes text content or base64 encoded binary content |
2121
| `author` | [Optional\<UserReferenceDefinition>](../../models/components/UserReferenceDefinition.md) | :heavy_minus_sign: | Describes how a user is referenced in a document. The user can be referenced by email or by a datasource specific id. |

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.3
3+
version=0.12.4
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
@@ -24,8 +24,8 @@ public class SDKConfiguration {
2424

2525
private static final String LANGUAGE = "java";
2626
public static final String OPENAPI_DOC_VERSION = "0.9.0";
27-
public static final String SDK_VERSION = "0.12.3";
28-
public static final String GEN_VERSION = "2.755.0";
27+
public static final String SDK_VERSION = "0.12.4";
28+
public static final String GEN_VERSION = "2.755.6";
2929
private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client";
3030
public static final String USER_AGENT =
3131
String.format("speakeasy-sdk/%s %s %s %s %s",

src/main/java/com/glean/api_client/glean_api_client/models/components/DocumentDefinition.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ public class DocumentDefinition {
8383

8484
/**
8585
* The datasource specific id for the document. This field is case insensitive and should not be more
86-
* than 200 characters in length.
86+
* than 200 characters in length. Note: id is a required field for datasources created after 1st March
87+
* 2025
8788
*/
8889
@JsonInclude(Include.NON_ABSENT)
8990
@JsonProperty("id")
@@ -343,7 +344,8 @@ public Optional<String> viewURL() {
343344

344345
/**
345346
* The datasource specific id for the document. This field is case insensitive and should not be more
346-
* than 200 characters in length.
347+
* than 200 characters in length. Note: id is a required field for datasources created after 1st March
348+
* 2025
347349
*/
348350
@JsonIgnore
349351
public Optional<String> id() {
@@ -632,7 +634,8 @@ public DocumentDefinition withViewURL(Optional<String> viewURL) {
632634

633635
/**
634636
* The datasource specific id for the document. This field is case insensitive and should not be more
635-
* than 200 characters in length.
637+
* than 200 characters in length. Note: id is a required field for datasources created after 1st March
638+
* 2025
636639
*/
637640
public DocumentDefinition withId(String id) {
638641
Utils.checkNotNull(id, "id");
@@ -643,7 +646,8 @@ public DocumentDefinition withId(String id) {
643646

644647
/**
645648
* The datasource specific id for the document. This field is case insensitive and should not be more
646-
* than 200 characters in length.
649+
* than 200 characters in length. Note: id is a required field for datasources created after 1st March
650+
* 2025
647651
*/
648652
public DocumentDefinition withId(Optional<String> id) {
649653
Utils.checkNotNull(id, "id");
@@ -1203,7 +1207,8 @@ public Builder viewURL(Optional<String> viewURL) {
12031207

12041208
/**
12051209
* The datasource specific id for the document. This field is case insensitive and should not be more
1206-
* than 200 characters in length.
1210+
* than 200 characters in length. Note: id is a required field for datasources created after 1st March
1211+
* 2025
12071212
*/
12081213
public Builder id(String id) {
12091214
Utils.checkNotNull(id, "id");
@@ -1213,7 +1218,8 @@ public Builder id(String id) {
12131218

12141219
/**
12151220
* The datasource specific id for the document. This field is case insensitive and should not be more
1216-
* than 200 characters in length.
1221+
* than 200 characters in length. Note: id is a required field for datasources created after 1st March
1222+
* 2025
12171223
*/
12181224
public Builder id(Optional<String> id) {
12191225
Utils.checkNotNull(id, "id");

0 commit comments

Comments
 (0)