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 1.x] Code generation updates #755

Merged
merged 11 commits into from
Aug 17, 2024

Conversation

Xtansia
Copy link
Collaborator

@Xtansia Xtansia commented Aug 14, 2024

Description

Backports recent code generation updates to 1.x

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.

Xtansia and others added 11 commits August 14, 2024 17:02
…ions (opensearch-project#527)

* Implement `cat.pit_segments` and `cat.all_pit_segments`

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

Allow body on get/head

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

* Implement `cat.segment_replication`

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

* Add changelog entry

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

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit c3deb70)
…ject#609)

* Update RestSpecDownloader

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

* Improve Enum formatting

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

* Patch request body references

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

* Description changes

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

* Improve type mapping

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

* Correct component and composable template APIs which do not actually accept comma-separated lists.

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

* Unify enums `Health` & `WaitForStatus` to `HealthStatus`

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

* Change `NodeNames` & `NodeIds` from `string` to `string[]`

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

* Rename `GroupBy` enum to `TasksGroupBy`

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

* Correct `Level` params

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

* Rename `SampleType` enum to `NodesSampleType`

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

* Remove `QueryString` suffixing

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

* Improve enum generation

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

* Re-generate enums

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

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 553f7d1)
* Bump YamlDotNet from 15.1.2 to 15.1.6

Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 15.1.2 to 15.1.6.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](aaubry/YamlDotNet@v15.1.2...v15.1.6)

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

---
updated-dependencies:
- dependency-name: YamlDotNet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 26a619c)
* Bump NSwag.Core from 14.0.7 to 14.0.8

Bumps [NSwag.Core](https://github.com/RicoSuter/NSwag) from 14.0.7 to 14.0.8.
- [Release notes](https://github.com/RicoSuter/NSwag/releases)
- [Changelog](https://github.com/RicoSuter/NSwag/blob/master/CHANGELOG.md)
- [Commits](RicoSuter/NSwag@v14.0.7...v14.0.8)

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

---
updated-dependencies:
- dependency-name: NSwag.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 74668a9)
* Bump YamlDotNet from 15.1.6 to 15.3.0

Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 15.1.6 to 15.3.0.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](aaubry/YamlDotNet@v15.1.6...v15.3.0)

Signed-off-by: Thomas Farr <[email protected]>
---
updated-dependencies:
- dependency-name: YamlDotNet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

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

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Farr <[email protected]>
(cherry picked from commit efbae03)
)

* Re-generate against latest OpenAPI specification

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

* Update tests

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

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 275203b)
* Bump YamlDotNet from 15.3.0 to 16.0.0

Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 15.3.0 to 16.0.0.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](aaubry/YamlDotNet@v15.3.0...v16.0.0)

Signed-off-by: Thomas Farr <[email protected]>
---
updated-dependencies:
- dependency-name: YamlDotNet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 81c9937)
…24-07-22) (opensearch-project#720)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Xtansia <[email protected]>
(cherry picked from commit e0fbd07)
* Bump NSwag.Core from 14.0.8 to 14.1.0

Bumps [NSwag.Core](https://github.com/RicoSuter/NSwag) from 14.0.8 to 14.1.0.
- [Release notes](https://github.com/RicoSuter/NSwag/releases)
- [Changelog](https://github.com/RicoSuter/NSwag/blob/master/CHANGELOG.md)
- [Commits](RicoSuter/NSwag@v14.0.8...v14.1.0)

Signed-off-by: Thomas Farr <[email protected]>
---
updated-dependencies:
- dependency-name: NSwag.Core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
(cherry picked from commit fbfb823)
* Add support for indices.stats

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

* Add changelog entry

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

* Fix tests

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

* Fix another test

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

* Fix more tests

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

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 43ba0de)
@Xtansia Xtansia force-pushed the backport/codegen-updates branch from a12fc5f to 58afea0 Compare August 14, 2024 05:39
@Xtansia Xtansia marked this pull request as ready for review August 16, 2024 03:34
@Xtansia Xtansia merged commit 2b4a961 into opensearch-project:1.x Aug 17, 2024
40 of 44 checks passed
@Xtansia Xtansia deleted the backport/codegen-updates branch August 17, 2024 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants