Skip to content

Commit

Permalink
Regenerates API Bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
lilt-infra-service authored and github-actions[bot] committed Sep 12, 2024
1 parent 68f7395 commit b544cdc
Show file tree
Hide file tree
Showing 65 changed files with 195 additions and 203 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@

Lilt REST API
- API version: v3.0
- Build date: 2024-07-22T00:19:36.591Z[GMT]
- Build date: 2024-09-12T18:54:06.863Z[GMT]

Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals
The Lilt REST API enables programmatic access to the full-range of Lilt backend services including:
* Training of and translating with interactive, adaptive machine translation
* Large-scale translation memory
* The Lexicon (a large-scale termbase)
* Programmatic control of the Lilt CAT environment
* Translation memory synchronization

Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests.
Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests.
The base url for this REST API is `https://api.lilt.com/`.

## Authentication

Expand All @@ -26,7 +28,6 @@ For development, you may also pass the REST API key via the `key` query paramete
Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.


For more information, please visit [https://developers.lilt.com/](https://developers.lilt.com/)

*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*

Expand Down Expand Up @@ -61,7 +62,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>openapi-java-client</artifactId>
<version>2.2.0</version>
<version>3.0.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -71,7 +72,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "org.openapitools:openapi-java-client:2.2.0"
compile "org.openapitools:openapi-java-client:3.0.0"
```

### Others
Expand All @@ -84,7 +85,7 @@ mvn clean package

Then manually install the following JARs:

* `target/openapi-java-client-2.2.0.jar`
* `target/openapi-java-client-3.0.0.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down Expand Up @@ -251,5 +252,5 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea

## Author

support@lilt.com


41 changes: 16 additions & 25 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
openapi: 3.0.1
info:
contact:
email: support@lilt.com
name: Lilt REST API Support
url: https://developers.lilt.com/
description: |
The Lilt REST API enables programmatic access to the full-range of Lilt backend services including:
* Training of and translating with interactive, adaptive machine translation
* Large-scale translation memory
* The Lexicon (a large-scale termbase)
* Programmatic control of the Lilt CAT environment
* Translation memory synchronization
Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests.
## Authentication
Requests are authenticated via REST API key, which requires the Business plan.
Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`.
For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use.
## Quotas
Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
description: "Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals\
\ \nThe Lilt REST API enables programmatic access to the full-range of Lilt\
\ backend services including:\n * Training of and translating with interactive,\
\ adaptive machine translation\n * Large-scale translation memory\n * The Lexicon\
\ (a large-scale termbase)\n * Programmatic control of the Lilt CAT environment\n\
\ * Translation memory synchronization\n\nRequests and responses are in JSON\
\ format. The REST API only responds to HTTPS / SSL requests. \nThe base url for\
\ this REST API is `https://api.lilt.com/`.\n\n## Authentication\n\nRequests are\
\ authenticated via REST API key, which requires the Business plan.\n\nRequests\
\ are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication).\
\ Add your REST API key as both the `username` and `password`.\n\nFor development,\
\ you may also pass the REST API key via the `key` query parameter. This is less\
\ secure than HTTP Basic Auth, and is not recommended for production use.\n\n\
## Quotas\n\nOur services have a general quota of 4000 requests per minute. Should\
\ you hit the maximum requests per minute, you will need to wait 60 seconds before\
\ you can send another request.\n"
title: Lilt REST API
version: v3.0
servers:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>openapi-java-client</artifactId>
<packaging>jar</packaging>
<name>openapi-java-client</name>
<version>2.2.0</version>
<version>3.0.0</version>
<url>https://github.com/openapitools/openapi-generator</url>
<description>OpenAPI Java</description>
<scm>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/lilt/client/ApiCallback.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Lilt REST API
* The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
* Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. The base url for this REST API is `https://api.lilt.com/`. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
*
* The version of the OpenAPI document: v3.0
* Contact: support@lilt.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/lilt/client/ApiClient.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Lilt REST API
* The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
* Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. The base url for this REST API is `https://api.lilt.com/`. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
*
* The version of the OpenAPI document: v3.0
* Contact: support@lilt.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down Expand Up @@ -125,7 +125,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/2.2.0/java");
setUserAgent("OpenAPI-Generator/3.0.0/java");

authentications = new HashMap<String, Authentication>();
}
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/lilt/client/ApiException.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Lilt REST API
* The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
* Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. The base url for this REST API is `https://api.lilt.com/`. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
*
* The version of the OpenAPI document: v3.0
* Contact: support@lilt.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand All @@ -16,7 +16,7 @@
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-22T00:19:36.591Z[GMT]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-12T18:54:06.863Z[GMT]")
public class ApiException extends Exception {
private int code = 0;
private Map<String, List<String>> responseHeaders = null;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/lilt/client/ApiResponse.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Lilt REST API
* The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
* Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. The base url for this REST API is `https://api.lilt.com/`. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
*
* The version of the OpenAPI document: v3.0
* Contact: support@lilt.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/lilt/client/Configuration.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Lilt REST API
* The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
* Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. The base url for this REST API is `https://api.lilt.com/`. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
*
* The version of the OpenAPI document: v3.0
* Contact: support@lilt.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand All @@ -13,7 +13,7 @@

package com.lilt.client;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-22T00:19:36.591Z[GMT]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-12T18:54:06.863Z[GMT]")
public class Configuration {
private static ApiClient defaultApiClient = new ApiClient();

Expand Down
Loading

0 comments on commit b544cdc

Please sign in to comment.