Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Re-generate client code using latest OpenSearch API specification (2024-09-23) (#1113) #1205

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

Xtansia
Copy link
Collaborator

@Xtansia Xtansia commented Sep 23, 2024

Description

Backport Re-generate client code using latest OpenSearch API specification (2024-09-23) (#1113)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

opensearch-trigger-bot bot and others added 4 commits September 24, 2024 10:02
…24-09-23) (opensearch-project#1113)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 230a92c)
* Fix codegen integer handling

Signed-off-by: Thomas Farr <[email protected]>

* Add failing tests

Signed-off-by: Thomas Farr <[email protected]>

* Begin re-generating `tasks.ListRequest` and `TaskExecutingNode`

renaming `State` to `TaskInfo`

Signed-off-by: Thomas Farr <[email protected]>

* Simplify client request methods

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate _types.Retries

Signed-off-by: Thomas Farr <[email protected]>

* Handle types that are used in both abstract and concrete contexts

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate tasks.ListResponse

Signed-off-by: Thomas Farr <[email protected]>

* Regenerate tasks.cancel

Signed-off-by: Thomas Farr <[email protected]>

* Regenerate tasks.get

Signed-off-by: Thomas Farr <[email protected]>

* spotless

Signed-off-by: Thomas Farr <[email protected]>

* Fixes

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit cb89246)
…opensearch-project#1198)

* Support new mechanism of defining deprecated enum variants in OpenAPI

Signed-off-by: Thomas Farr <[email protected]>

* Spotless

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 432919c)
Signed-off-by: Thomas Farr <[email protected]>
@Xtansia Xtansia merged commit f83cd4d into opensearch-project:2.x Sep 23, 2024
57 checks passed
@Xtansia Xtansia deleted the backport/codegen-to-2.x branch September 23, 2024 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants