Skip to content

fix: update API spec download URL to api-spec.opensearch.org - #2116

Merged
reta merged 2 commits into
opensearch-project:mainfrom
Hailong-am:fix/update-spec-download-url
Aug 21, 2026
Merged

fix: update API spec download URL to api-spec.opensearch.org#2116
reta merged 2 commits into
opensearch-project:mainfrom
Hailong-am:fix/update-spec-download-url

Conversation

@Hailong-am

Copy link
Copy Markdown
Contributor

Description

Update the OpenAPI spec download URL in the code generator from the GitHub release assets URL to the new canonical location at https://api-spec.opensearch.org/opensearch-openapi.yaml.

The opensearch-api-specification repo now publishes the spec at this new URL (see opensearch-project/opensearch-api-specification#1200).

Changes

  • java-codegen/build.gradle.kts: Updated spec src() URL

Related

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.

The opensearch-api-specification repo now publishes specs at
https://api-spec.opensearch.org/opensearch-openapi.yaml instead of
via GitHub release assets.

Ref: opensearch-project/opensearch-api-specification#1200

Signed-off-by: Hailong Cui <ihailong@amazon.com>
Signed-off-by: Hailong Cui <ihailong@amazon.com>
@reta

reta commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Thanks @Hailong-am !

@reta
reta merged commit 0a84bf6 into opensearch-project:main Aug 21, 2026
47 checks passed
@opensearch-ci-bot

Copy link
Copy Markdown

The backport to 3.x failed. Please backport manually. See failed workflow run: https://github.com/opensearch-project/opensearch-java/actions/runs/32481225265

@reta

reta commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

The backport to 3.x failed. Please backport manually. See failed workflow run: https://github.com/opensearch-project/opensearch-java/actions/runs/32481225265

@Hailong-am could you please send the backport to 3.x branch? thank you!

Hailong-am added a commit to Hailong-am/opensearch-java that referenced this pull request Aug 21, 2026
…rch-project#2116)

* fix: update API spec download URL to api-spec.opensearch.org

The opensearch-api-specification repo now publishes specs at
https://api-spec.opensearch.org/opensearch-openapi.yaml instead of
via GitHub release assets.

Ref: opensearch-project/opensearch-api-specification#1200

Signed-off-by: Hailong Cui <ihailong@amazon.com>

* Add CHANGELOG entry

Signed-off-by: Hailong Cui <ihailong@amazon.com>

---------

Signed-off-by: Hailong Cui <ihailong@amazon.com>
@Hailong-am

Copy link
Copy Markdown
Contributor Author

The backport to 3.x failed. Please backport manually. See failed workflow run: https://github.com/opensearch-project/opensearch-java/actions/runs/32481225265

@Hailong-am could you please send the backport to 3.x branch? thank you!

@reta Here is the backport PR #2117

reta pushed a commit that referenced this pull request Aug 21, 2026
…2117)

* fix: update API spec download URL to api-spec.opensearch.org

The opensearch-api-specification repo now publishes specs at
https://api-spec.opensearch.org/opensearch-openapi.yaml instead of
via GitHub release assets.

Ref: opensearch-project/opensearch-api-specification#1200



* Add CHANGELOG entry



---------

Signed-off-by: Hailong Cui <ihailong@amazon.com>
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.

3 participants