From b6dabfbdbe185e8df8a1e853318c702bfd114eca Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Fri, 21 Aug 2026 04:01:31 +0000 Subject: [PATCH 1/2] 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 --- .github/workflows/generate_api.yml | 2 +- api_generator/Rakefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate_api.yml b/.github/workflows/generate_api.yml index a4e9e816a..6e3f9743d 100644 --- a/.github/workflows/generate_api.yml +++ b/.github/workflows/generate_api.yml @@ -71,7 +71,7 @@ jobs: commit-message: "Updated opensearch-ruby to reflect the latest OpenSearch API spec (${{ env.date }})" title: "[AUTOCUT] Update opensearch-ruby to reflect the latest OpenSearch API spec (${{ env.date }})" body: | - Update `opensearch-ruby` to reflect the latest [OpenSearch API spec](https://github.com/opensearch-project/opensearch-api-specification/releases/download/main-latest/opensearch-openapi.yaml). + Update `opensearch-ruby` to reflect the latest [OpenSearch API spec](https://api-spec.opensearch.org/opensearch-openapi.yaml). Date: ${{ env.date }} branch: update-api-from-spec base: main diff --git a/api_generator/Rakefile b/api_generator/Rakefile index 4c8552338..2f9069b85 100644 --- a/api_generator/Rakefile +++ b/api_generator/Rakefile @@ -10,7 +10,7 @@ require 'rake' require 'active_support/all' task :download_spec do - sh 'curl -L -X GET "https://github.com/opensearch-project/opensearch-api-specification/releases/download/main-latest/opensearch-openapi.yaml" -o opensearch-openapi.yaml' + sh 'curl -L -X GET "https://api-spec.opensearch.org/opensearch-openapi.yaml" -o opensearch-openapi.yaml' end From f940b4fdad41eb04ab2e7f5366a92d277af40efe Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Fri, 21 Aug 2026 04:12:05 +0000 Subject: [PATCH 2/2] Add CHANGELOG entry Signed-off-by: Hailong Cui --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d804f492c..0c487cc6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Added ### Changed - Update rubygems public key setting expiry to 20260707 ([#308](https://github.com/opensearch-project/opensearch-ruby/pull/308)) +- Updated API spec download URL to `https://api-spec.opensearch.org` ([#340](https://github.com/opensearch-project/opensearch-ruby/pull/340)) ### Deprecated ### Removed ### Fixed