Skip to content

Commit 2ac7354

Browse files
Initial commit
0 parents  commit 2ac7354

File tree

1,961 files changed

+270832
-0
lines changed

Some content is hidden

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

1,961 files changed

+270832
-0
lines changed

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+
10+
# This allows generated code to be indexed correctly
11+
*.java linguist-generated=false

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Ignore Gradle project-specific cache directory
2+
.gradle
3+
# Ignore Gradle build output directory
4+
build
5+
bin/
6+
# Ignore IDE-specific configs
7+
.project
8+
.settings/
9+
.DS_Store
10+
.speakeasy/temp/
11+
.speakeasy/reports

.speakeasy/gen.lock

Lines changed: 2828 additions & 0 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
configVersion: 2.0.0
2+
generation:
3+
sdkClassName: Glean
4+
maintainOpenAPIOrder: true
5+
usageSnippets:
6+
optionalPropertyRendering: withExample
7+
useClassNamesForArrayFields: true
8+
fixes:
9+
nameResolutionDec2023: true
10+
nameResolutionFeb2025: true
11+
parameterOrderingFeb2024: true
12+
requestResponseComponentNamesFeb2024: true
13+
securityFeb2025: true
14+
auth:
15+
oAuth2ClientCredentialsEnabled: true
16+
oAuth2PasswordEnabled: true
17+
java:
18+
version: 0.0.1
19+
additionalDependencies: []
20+
additionalPlugins: []
21+
artifactID: api-client
22+
clientServerStatusCodesAsErrors: true
23+
companyEmail: info@mycompany.com
24+
companyName: My Company
25+
companyURL: www.mycompany.com
26+
defaultErrorName: APIException
27+
flattenGlobalSecurity: true
28+
githubURL: github.com/owner/repo
29+
groupID: com.glean
30+
imports:
31+
option: openapi
32+
paths:
33+
callbacks: models/callbacks
34+
errors: models/errors
35+
operations: models/operations
36+
shared: models/components
37+
webhooks: models/webhooks
38+
inputModelSuffix: input
39+
license:
40+
name: The MIT License (MIT)
41+
shortName: MIT
42+
url: https://mit-license.org/
43+
maxMethodParams: 4
44+
outputModelSuffix: output
45+
projectName: openapi
46+
templateVersion: v2

.speakeasy/workflow.lock

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
speakeasyVersion: 1.539.2
2+
sources:
3+
Glean-OAS:
4+
sourceNamespace: glean-oas
5+
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
6+
sourceBlobDigest: sha256:6bc72f74f71a240fd856970a3e7f199b01435c1dbe606428131177cb092508c3
7+
tags:
8+
- latest
9+
- 0.9.0
10+
targets:
11+
glean:
12+
source: Glean-OAS
13+
sourceNamespace: glean-oas
14+
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
15+
sourceBlobDigest: sha256:6bc72f74f71a240fd856970a3e7f199b01435c1dbe606428131177cb092508c3
16+
codeSamplesNamespace: glean-oas-java-code-samples
17+
codeSamplesRevisionDigest: sha256:6e9c6c1b6b9b56c34248b33c1062094ca550f476ab9d4b8c0705e9368f99310b
18+
workflow:
19+
workflowVersion: 1.0.0
20+
speakeasyVersion: latest
21+
sources:
22+
Glean-OAS:
23+
inputs:
24+
- location: https://raw.githubusercontent.com/gleanwork/open-api/d39b214b0c876212322d625b662b37e63760b261/overlayed_specs/glean-merged-spec.yaml
25+
registry:
26+
location: registry.speakeasyapi.dev/glean-el2/sdk/glean-oas
27+
targets:
28+
glean:
29+
target: java
30+
source: Glean-OAS
31+
codeSamples:
32+
registry:
33+
location: registry.speakeasyapi.dev/glean-el2/sdk/glean-oas-java-code-samples
34+
labelOverride:
35+
fixedValue: Java (SDK)
36+
blocking: false

.speakeasy/workflow.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
workflowVersion: 1.0.0
2+
speakeasyVersion: latest
3+
sources:
4+
Glean-OAS:
5+
inputs:
6+
- location: https://raw.githubusercontent.com/gleanwork/open-api/d39b214b0c876212322d625b662b37e63760b261/overlayed_specs/glean-merged-spec.yaml
7+
registry:
8+
location: registry.speakeasyapi.dev/glean-el2/sdk/glean-oas
9+
targets:
10+
glean:
11+
target: java
12+
source: Glean-OAS
13+
codeSamples:
14+
registry:
15+
location: registry.speakeasyapi.dev/glean-el2/sdk/glean-oas-java-code-samples
16+
labelOverride:
17+
fixedValue: Java (SDK)
18+
blocking: false

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing to This Repository
2+
3+
Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.
4+
5+
## How to Report Issues
6+
7+
If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:
8+
9+
- A clear and descriptive title
10+
- Steps to reproduce the issue
11+
- Expected and actual behavior
12+
- Any relevant logs, screenshots, or error messages
13+
- Information about your environment (e.g., operating system, software versions)
14+
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed
15+
16+
## Issue Triage and Upstream Fixes
17+
18+
We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.
19+
20+
## Contact
21+
22+
If you have any questions or need further assistance, please feel free to reach out by opening an issue.
23+
24+
Thank you for your understanding and cooperation!
25+
26+
The Maintainers

0 commit comments

Comments
 (0)