Skip to content

Commit

Permalink
OpenAPI: Regenerates API Bindings (#33)
Browse files Browse the repository at this point in the history
* Regenerates API Bindings

* ENG 18614/test clean up (#34)

* Fixing version

* Replacing pom.xml with correct version

* Adding test clean up

* Adding verified translate test

* Adding PAT to openapi generator GHA

* Fixing compilation errors

* Fixing compilation errors

* Fixing compilation errors

* Fixing compilation errors

* Adding verified translation upload file

* Fixing unzip

* Removing newline from test_file.txt

* Removed deprecated maven install

* Adding testing headers

* Fixing pom.xml, adding openapi-generator settings

* Updating pom.xml version

* Readding apache.commons.io dependency
  • Loading branch information
github-actions[bot] authored Nov 20, 2024
1 parent 6e3f976 commit aa1cf7c
Show file tree
Hide file tree
Showing 96 changed files with 1,787 additions and 273 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,20 @@ jobs:
args: >-
generate
-i https://developers.lilt.com/redocusaurus/plugin-redoc-0.yaml
-p apiPackage=com.lilt.client.api
-p artifactId=lilt-java
-p artifactUrl=https://github.com/lilt/lilt-java
-p [email protected]
-p developerName="Nicholas Chiu"
-p developerOrganization="Lilt"
-p developerOrganizationUrl=https://lilt.com
-p groupId=com.lilt.client
-g java
-p licenseName="Lilt Client Library License"
-p licenseUrl=license.md
-p modelPackage=com.lilt.client.model
-p apiPackage=com.lilt.client.api
-p packageVersion=${{ github.event.client_payload.version }}
--package-name lilt
--git-host github.com
--git-user-id lilt
Expand All @@ -36,6 +46,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.GHA_REPO_DISPATCH_TOKEN }}
commit-message: Regenerates API Bindings
title: "OpenAPI: Regenerates API Bindings"
body: |
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN

- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.8.1

- name: Build
run: mvn -B package --file pom.xml

Expand Down
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ docs/LanguagesApi.md
docs/LanguagesResponse.md
docs/LiltCreateContent.md
docs/LiltCreateContentPreferences.md
docs/LiltCreateContentRequest.md
docs/LiltCreateContentTemplateParams.md
docs/MemoriesApi.md
docs/Memory.md
Expand Down Expand Up @@ -103,6 +104,7 @@ src/main/java/com/lilt/client/model/LanguagePair.java
src/main/java/com/lilt/client/model/LanguagesResponse.java
src/main/java/com/lilt/client/model/LiltCreateContent.java
src/main/java/com/lilt/client/model/LiltCreateContentPreferences.java
src/main/java/com/lilt/client/model/LiltCreateContentRequest.java
src/main/java/com/lilt/client/model/LiltCreateContentTemplateParams.java
src/main/java/com/lilt/client/model/Memory.java
src/main/java/com/lilt/client/model/MemoryCreateParameters.java
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# openapi-java-client

Lilt REST API
- API version: v3.0
- Build date: 2024-10-14T17:01:14.551Z[GMT]
- API version: 3.0.0
- Build date: 2024-11-14T22:57:19.235Z[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:
Expand Down Expand Up @@ -162,7 +162,7 @@ Class | Method | HTTP request | Description
*JobsApi* | [**createJob**](docs/JobsApi.md#createJob) | **POST** /v2/jobs | Create a Job
*JobsApi* | [**deleteJob**](docs/JobsApi.md#deleteJob) | **DELETE** /v2/jobs/{jobId} | Delete a Job
*JobsApi* | [**deliverJob**](docs/JobsApi.md#deliverJob) | **POST** /v2/jobs/{jobId}/deliver | Deliver a Job
*JobsApi* | [**downloadJob**](docs/JobsApi.md#downloadJob) | **GET** /v2/jobs/{jobId}/downlod | Download a Job
*JobsApi* | [**downloadJob**](docs/JobsApi.md#downloadJob) | **GET** /v2/jobs/{jobId}/download | Download a Job
*JobsApi* | [**exportJob**](docs/JobsApi.md#exportJob) | **GET** /v2/jobs/{jobId}/export | Export a Job
*JobsApi* | [**getJob**](docs/JobsApi.md#getJob) | **GET** /v2/jobs/{jobId} | Retrieve a Job
*JobsApi* | [**getJobLeverageStats**](docs/JobsApi.md#getJobLeverageStats) | **POST** /v2/jobs/{jobId}/stats | Retrieve Job Leverage Stats
Expand Down Expand Up @@ -213,6 +213,7 @@ Class | Method | HTTP request | Description
- [LanguagesResponse](docs/LanguagesResponse.md)
- [LiltCreateContent](docs/LiltCreateContent.md)
- [LiltCreateContentPreferences](docs/LiltCreateContentPreferences.md)
- [LiltCreateContentRequest](docs/LiltCreateContentRequest.md)
- [LiltCreateContentTemplateParams](docs/LiltCreateContentTemplateParams.md)
- [Memory](docs/Memory.md)
- [MemoryCreateParameters](docs/MemoryCreateParameters.md)
Expand Down
Loading

0 comments on commit aa1cf7c

Please sign in to comment.