Skip to content

Commit f59ced0

Browse files
Merge pull request #43 from lilt/openapi-bindings
OpenAPI: Regenerates API Bindings
2 parents 11f42c6 + a6cf717 commit f59ced0

File tree

81 files changed

+1935
-247
lines changed

Some content is hidden

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

81 files changed

+1935
-247
lines changed

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ api/openapi.yaml
44
docs/AddFileLabelRequest.md
55
docs/CreateApi.md
66
docs/CreateConverterConfigParameters.md
7+
docs/CreateWebhookOptions.md
78
docs/DeleteSegmentFromMemoryResponse.md
89
docs/DocumentWithSegments.md
910
docs/DocumentWithoutSegments.md
@@ -51,6 +52,8 @@ docs/Translation.md
5152
docs/TranslationInfo.md
5253
docs/TranslationList.md
5354
docs/TranslationMemoryEntry.md
55+
docs/WebhookConfigurationApi.md
56+
docs/WebhookResponse.md
5457
docs/WorkflowStageAssignment.md
5558
docs/WorkflowStageTemplate.md
5659
docs/WorkflowTemplate.md
@@ -78,13 +81,15 @@ src/main/java/com/lilt/client/api/LanguagesApi.java
7881
src/main/java/com/lilt/client/api/MemoriesApi.java
7982
src/main/java/com/lilt/client/api/ProjectsApi.java
8083
src/main/java/com/lilt/client/api/TranslateApi.java
84+
src/main/java/com/lilt/client/api/WebhookConfigurationApi.java
8185
src/main/java/com/lilt/client/api/WorkflowsApi.java
8286
src/main/java/com/lilt/client/auth/ApiKeyAuth.java
8387
src/main/java/com/lilt/client/auth/Authentication.java
8488
src/main/java/com/lilt/client/auth/HttpBasicAuth.java
8589
src/main/java/com/lilt/client/auth/HttpBearerAuth.java
8690
src/main/java/com/lilt/client/model/AddFileLabelRequest.java
8791
src/main/java/com/lilt/client/model/CreateConverterConfigParameters.java
92+
src/main/java/com/lilt/client/model/CreateWebhookOptions.java
8893
src/main/java/com/lilt/client/model/DeleteSegmentFromMemoryResponse.java
8994
src/main/java/com/lilt/client/model/DocumentWithSegments.java
9095
src/main/java/com/lilt/client/model/DocumentWithoutSegments.java
@@ -125,6 +130,7 @@ src/main/java/com/lilt/client/model/Translation.java
125130
src/main/java/com/lilt/client/model/TranslationInfo.java
126131
src/main/java/com/lilt/client/model/TranslationList.java
127132
src/main/java/com/lilt/client/model/TranslationMemoryEntry.java
133+
src/main/java/com/lilt/client/model/WebhookResponse.java
128134
src/main/java/com/lilt/client/model/WorkflowStageAssignment.java
129135
src/main/java/com/lilt/client/model/WorkflowStageTemplate.java
130136
src/main/java/com/lilt/client/model/WorkflowTemplate.java

README.md

Lines changed: 15 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# openapi-java-client
1+
# lilt-java
22

33
Lilt REST API
4-
- API version: 3.0.0
5-
- Build date: 2024-11-14T22:57:19.235Z[GMT]
4+
- API version: v3.0
5+
- Build date: 2025-02-19T20:26:43.350Z[GMT]
66

77
Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals
88
The Lilt REST API enables programmatic access to the full-range of Lilt backend services including:
@@ -60,9 +60,9 @@ Add this dependency to your project's POM:
6060

6161
```xml
6262
<dependency>
63-
<groupId>org.openapitools</groupId>
64-
<artifactId>openapi-java-client</artifactId>
65-
<version>3.0.0</version>
63+
<groupId>com.lilt.client</groupId>
64+
<artifactId>lilt-java</artifactId>
65+
<version>v3.0</version>
6666
<scope>compile</scope>
6767
</dependency>
6868
```
@@ -72,7 +72,7 @@ Add this dependency to your project's POM:
7272
Add this dependency to your project's build file:
7373

7474
```groovy
75-
compile "org.openapitools:openapi-java-client:3.0.0"
75+
compile "com.lilt.client:lilt-java:v3.0"
7676
```
7777

7878
### Others
@@ -85,7 +85,7 @@ mvn clean package
8585

8686
Then manually install the following JARs:
8787

88-
* `target/openapi-java-client-3.0.0.jar`
88+
* `target/lilt-java-v3.0.jar`
8989
* `target/lib/*.jar`
9090

9191
## Getting Started
@@ -135,27 +135,6 @@ public class Example {
135135

136136
```
137137

138-
## Checking Credentials
139-
140-
If you would like to test your credentials using our functionality tests you can do the following.
141-
142-
Navigate to the folder where the package is installed. In the command line run:
143-
144-
```sh
145-
export API_HOST="{host}"
146-
export API_KEY="{key}"
147-
```
148-
149-
Replacing {host} and {key} with the credentials you were given. Make sure to include the quotation marks.
150-
151-
Then while inside the package folder, run:
152-
153-
```sh
154-
mvn test
155-
```
156-
157-
You should be able to see the tests run.
158-
159138
## Documentation for API Endpoints
160139

161140
All URIs are relative to *https://api.lilt.com*
@@ -208,13 +187,19 @@ Class | Method | HTTP request | Description
208187
*TranslateApi* | [**downloadFile**](docs/TranslateApi.md#downloadFile) | **GET** /v2/translate/files | Download translated file
209188
*TranslateApi* | [**monitorFileTranslation**](docs/TranslateApi.md#monitorFileTranslation) | **GET** /v2/translate/file | Monitor file translation
210189
*TranslateApi* | [**translateSegmentPost**](docs/TranslateApi.md#translateSegmentPost) | **POST** /v2/translate | Translate a segment
190+
*WebhookConfigurationApi* | [**servicesConfigurationApiWebhooksDelete**](docs/WebhookConfigurationApi.md#servicesConfigurationApiWebhooksDelete) | **DELETE** /v3/connectors/configuration/webhooks/{id} | Delete a specific Webhook Configuration by ID.
191+
*WebhookConfigurationApi* | [**webhooksCreate**](docs/WebhookConfigurationApi.md#webhooksCreate) | **POST** /v3/connectors/configuration/webhooks | Creates a new Webhook Configuration
192+
*WebhookConfigurationApi* | [**webhooksGet**](docs/WebhookConfigurationApi.md#webhooksGet) | **GET** /v3/connectors/configuration/webhooks/{id} | Retrieve a specific Webhook Configuration by ID.
193+
*WebhookConfigurationApi* | [**webhooksGetMany**](docs/WebhookConfigurationApi.md#webhooksGetMany) | **GET** /v3/connectors/configuration/webhooks | Retrieve a list of Webhook Configurations.
194+
*WebhookConfigurationApi* | [**webhooksUpdate**](docs/WebhookConfigurationApi.md#webhooksUpdate) | **PUT** /v3/connectors/configuration/webhooks/{id} | Update a specific Webhook Configuration by ID.
211195
*WorkflowsApi* | [**getWorkflowTemplates**](docs/WorkflowsApi.md#getWorkflowTemplates) | **GET** /v2/workflows/templates | Retrieve workflow templates
212196

213197

214198
## Documentation for Models
215199

216200
- [AddFileLabelRequest](docs/AddFileLabelRequest.md)
217201
- [CreateConverterConfigParameters](docs/CreateConverterConfigParameters.md)
202+
- [CreateWebhookOptions](docs/CreateWebhookOptions.md)
218203
- [DeleteSegmentFromMemoryResponse](docs/DeleteSegmentFromMemoryResponse.md)
219204
- [DocumentWithSegments](docs/DocumentWithSegments.md)
220205
- [DocumentWithoutSegments](docs/DocumentWithoutSegments.md)
@@ -255,6 +240,7 @@ Class | Method | HTTP request | Description
255240
- [TranslationInfo](docs/TranslationInfo.md)
256241
- [TranslationList](docs/TranslationList.md)
257242
- [TranslationMemoryEntry](docs/TranslationMemoryEntry.md)
243+
- [WebhookResponse](docs/WebhookResponse.md)
258244
- [WorkflowStageAssignment](docs/WorkflowStageAssignment.md)
259245
- [WorkflowStageTemplate](docs/WorkflowStageTemplate.md)
260246
- [WorkflowTemplate](docs/WorkflowTemplate.md)

0 commit comments

Comments
 (0)