Repository: opensearch-project/opensearch-go
Pull request #444 (2023-12-11 13:45:59)

go: update lib version to v3
### Description
I missed to change the lib version from v2 to v3.

### Issues Resolved
_List any issues this PR will resolve, e.g. Closes [...]._ 

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](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).



Patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6b0d6fd..4d0fdb5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -34,6 +34,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
 - guids: updated to work for the new opensearchapi ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
 - Test adjusted to new opensearchapi functions and structs ([#421](https://github.com/opensearch-project/opensearch-go/pull/421))
 - Change codecov to comment code coverage to each PR ([#410](https://github.com/opensearch-project/opensearch-go/pull/410))
+- Change module version from v2 to v3 ([#444](https://github.com/opensearch-project/opensearch-go/pull/444))
 
 ### Deprecated
 
diff --git a/README.md b/README.md
index bd0260f..a8fdc81 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[![Go Reference](https://pkg.go.dev/badge/github.com/opensearch-project/opensearch-go.svg)](https://pkg.go.dev/github.com/opensearch-project/opensearch-go/v2) [![Build](https://github.com/opensearch-project/opensearch-go/actions/workflows/lint.yml/badge.svg)](https://github.com/opensearch-project/opensearch-go/actions/workflows/lint.yml) [![Unit](https://github.com/opensearch-project/opensearch-go/actions/workflows/test-unit.yml/badge.svg)](https://github.com/opensearch-project/opensearch-go/actions/workflows/test-unit.yml) [![Integration](https://github.com/opensearch-project/opensearch-go/actions/workflows/test-integration.yml/badge.svg)](https://github.com/opensearch-project/opensearch-go/actions/workflows/test-integration.yml) [![codecov](https://codecov.io/gh/opensearch-project/opensearch-go/branch/main/graph/badge.svg?token=MI9g3KYHVx)](https://codecov.io/gh/opensearch-project/opensearch-go) [![Chat](https://img.shields.io/badge/chat-on%20forums-blue)](https://discuss.opendistrocommunity.dev/c/clients/) ![PRs welcome!](https://img.shields.io/badge/PRs-welcome!-success)
+[![Go Reference](https://pkg.go.dev/badge/github.com/opensearch-project/opensearch-go.svg)](https://pkg.go.dev/github.com/opensearch-project/opensearch-go/v3) [![Build](https://github.com/opensearch-project/opensearch-go/actions/workflows/lint.yml/badge.svg)](https://github.com/opensearch-project/opensearch-go/actions/workflows/lint.yml) [![Unit](https://github.com/opensearch-project/opensearch-go/actions/workflows/test-unit.yml/badge.svg)](https://github.com/opensearch-project/opensearch-go/actions/workflows/test-unit.yml) [![Integration](https://github.com/opensearch-project/opensearch-go/actions/workflows/test-integration.yml/badge.svg)](https://github.com/opensearch-project/opensearch-go/actions/workflows/test-integration.yml) [![codecov](https://codecov.io/gh/opensearch-project/opensearch-go/branch/main/graph/badge.svg?token=MI9g3KYHVx)](https://codecov.io/gh/opensearch-project/opensearch-go) [![Chat](https://img.shields.io/badge/chat-on%20forums-blue)](https://discuss.opendistrocommunity.dev/c/clients/) ![PRs welcome!](https://img.shields.io/badge/PRs-welcome!-success)
 
 ![OpenSearch logo](OpenSearch.svg)
 
@@ -20,7 +20,7 @@ OpenSearch Go Client
 - [Developer Guide](DEVELOPER_GUIDE.md)
 - [User Guide](USER_GUIDE.md)
 - [Documentation](https://opensearch.org/docs/latest/clients/go/)
-- [API Documentation](https://pkg.go.dev/github.com/opensearch-project/opensearch-go/v2)
+- [API Documentation](https://pkg.go.dev/github.com/opensearch-project/opensearch-go/v3)
 - Need help? Try [Forums](https://discuss.opendistrocommunity.dev/c/clients/)
 - [Project Principles](https://opensearch.org/#principles)
 - [Contributing to OpenSearch](CONTRIBUTING.md)
diff --git a/RELEASING.md b/RELEASING.md
index f09c766..27ce93d 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -37,5 +37,5 @@ The release process is standard across repositories in this org and is run by a
 2. Add a comparison link to the new version at the bottom of the [CHANGELOG](CHANGELOG.md).
 3. Adjust the internal client version in the [internal/version/version.go](internal/version/version.go) file.
 4. Create a PR with the changes and merge it into main.
-5. Create a tag, e.g. `v2.1.0`, and push it to the GitHub repo. This makes the new version available on https://pkg.go.dev/github.com/opensearch-project/opensearch-go/v2.
+5. Create a tag, e.g. `v3.0.1`, and push it to the GitHub repo. This makes the new version available on https://pkg.go.dev/github.com/opensearch-project/opensearch-go/v3.
 6. Create a new `Unreleased` section in the [CHANGELOG](CHANGELOG.md) and merge it into main.
diff --git a/USER_GUIDE.md b/USER_GUIDE.md
index fb26368..59d033d 100644
--- a/USER_GUIDE.md
+++ b/USER_GUIDE.md
@@ -23,9 +23,9 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 const IndexName = "go-test-index1"
@@ -219,10 +219,10 @@ import (
 	"os"
 
 	"github.com/aws/aws-sdk-go/aws/session"
-	requestsigner "github.com/opensearch-project/opensearch-go/v2/signer/aws"
+	requestsigner "github.com/opensearch-project/opensearch-go/v3/signer/aws"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 const IndexName = "go-test-index1"
@@ -288,9 +288,9 @@ import (
 	"github.com/aws/aws-sdk-go-v2/aws"
 	"github.com/aws/aws-sdk-go-v2/config"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	requestsigner "github.com/opensearch-project/opensearch-go/v2/signer/awsv2"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	requestsigner "github.com/opensearch-project/opensearch-go/v3/signer/awsv2"
 )
 
 const endpoint = "" // e.g. https://opensearch-domain.region.com or Amazon OpenSearch Serverless endpoint
diff --git a/_samples/advanced_index_actions.go b/_samples/advanced_index_actions.go
index 4bed616..04fda67 100644
--- a/_samples/advanced_index_actions.go
+++ b/_samples/advanced_index_actions.go
@@ -11,7 +11,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/_samples/bulk.go b/_samples/bulk.go
index 251508a..95d5ef2 100644
--- a/_samples/bulk.go
+++ b/_samples/bulk.go
@@ -12,7 +12,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/_samples/data_stream.go b/_samples/data_stream.go
index ad1b96a..6ede51f 100644
--- a/_samples/data_stream.go
+++ b/_samples/data_stream.go
@@ -12,7 +12,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/_samples/document_lifecycle.go b/_samples/document_lifecycle.go
index 374d7cb..233e213 100644
--- a/_samples/document_lifecycle.go
+++ b/_samples/document_lifecycle.go
@@ -12,7 +12,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/_samples/index_lifecycle.go b/_samples/index_lifecycle.go
index d496178..a2c5329 100644
--- a/_samples/index_lifecycle.go
+++ b/_samples/index_lifecycle.go
@@ -12,7 +12,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/_samples/json.go b/_samples/json.go
index 79625ba..9a7c40f 100644
--- a/_samples/json.go
+++ b/_samples/json.go
@@ -12,7 +12,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 const IndexName = "go-test-index1"
diff --git a/_samples/search.go b/_samples/search.go
index 7235dc2..beef628 100644
--- a/_samples/search.go
+++ b/_samples/search.go
@@ -14,7 +14,7 @@ import (
 	"strings"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/go.mod b/go.mod
index d13032f..39d36f3 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/opensearch-project/opensearch-go/v2
+module github.com/opensearch-project/opensearch-go/v3
 
 go 1.20
 
diff --git a/guides/advanced_index_actions.md b/guides/advanced_index_actions.md
index 45a12c6..e4df492 100644
--- a/guides/advanced_index_actions.md
+++ b/guides/advanced_index_actions.md
@@ -15,7 +15,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/guides/bulk.md b/guides/bulk.md
index 8c3a9d1..4668df7 100644
--- a/guides/bulk.md
+++ b/guides/bulk.md
@@ -16,7 +16,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/guides/data_streams.md b/guides/data_streams.md
index a1732c3..1604e17 100644
--- a/guides/data_streams.md
+++ b/guides/data_streams.md
@@ -13,7 +13,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/guides/document_lifecycle.md b/guides/document_lifecycle.md
index 6822799..40a9654 100644
--- a/guides/document_lifecycle.md
+++ b/guides/document_lifecycle.md
@@ -15,7 +15,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/guides/index_lifecycle.md b/guides/index_lifecycle.md
index b07587d..96f79bf 100644
--- a/guides/index_lifecycle.md
+++ b/guides/index_lifecycle.md
@@ -26,7 +26,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/guides/index_template.md b/guides/index_template.md
index 6f63af4..2d6a990 100644
--- a/guides/index_template.md
+++ b/guides/index_template.md
@@ -17,8 +17,8 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/guides/json.md b/guides/json.md
index 7fb5806..fa6b202 100644
--- a/guides/json.md
+++ b/guides/json.md
@@ -23,7 +23,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/guides/search.md b/guides/search.md
index 9cb509f..2f68149 100644
--- a/guides/search.md
+++ b/guides/search.md
@@ -16,7 +16,7 @@ import (
 	"strconv"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func main() {
diff --git a/opensearch.go b/opensearch.go
index b67beb3..c990525 100644
--- a/opensearch.go
+++ b/opensearch.go
@@ -41,9 +41,9 @@ import (
 	"strings"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2/internal/version"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
-	"github.com/opensearch-project/opensearch-go/v2/signer"
+	"github.com/opensearch-project/opensearch-go/v3/internal/version"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3/signer"
 )
 
 const (
diff --git a/opensearchapi/api_aliases.go b/opensearchapi/api_aliases.go
index 747b60b..8633dcd 100644
--- a/opensearchapi/api_aliases.go
+++ b/opensearchapi/api_aliases.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Aliases executes an /_aliases request with the required AliasesReq
diff --git a/opensearchapi/api_bulk.go b/opensearchapi/api_bulk.go
index 717dff4..d1683a5 100644
--- a/opensearchapi/api_bulk.go
+++ b/opensearchapi/api_bulk.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Bulk executes a /_bulk request with the needed BulkReq
diff --git a/opensearchapi/api_cat-aliases.go b/opensearchapi/api_cat-aliases.go
index 004f2c0..a3ec4ac 100644
--- a/opensearchapi/api_cat-aliases.go
+++ b/opensearchapi/api_cat-aliases.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatAliasesReq represent possible options for the /_cat/aliases request
diff --git a/opensearchapi/api_cat-allocation.go b/opensearchapi/api_cat-allocation.go
index c01e764..d125635 100644
--- a/opensearchapi/api_cat-allocation.go
+++ b/opensearchapi/api_cat-allocation.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatAllocationReq represent possible options for the /_cat/allocation request
diff --git a/opensearchapi/api_cat-cluster_manager.go b/opensearchapi/api_cat-cluster_manager.go
index 2a5dd38..6897aa1 100644
--- a/opensearchapi/api_cat-cluster_manager.go
+++ b/opensearchapi/api_cat-cluster_manager.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatClusterManagerReq represent possible options for the /_cat/cluster_manager request
diff --git a/opensearchapi/api_cat-count.go b/opensearchapi/api_cat-count.go
index 699e01b..d425030 100644
--- a/opensearchapi/api_cat-count.go
+++ b/opensearchapi/api_cat-count.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatCountReq represent possible options for the /_cat/count request
diff --git a/opensearchapi/api_cat-fielddata.go b/opensearchapi/api_cat-fielddata.go
index 4b9f3ed..aa70dae 100644
--- a/opensearchapi/api_cat-fielddata.go
+++ b/opensearchapi/api_cat-fielddata.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatFieldDataReq represent possible options for the /_cat/fielddata request
diff --git a/opensearchapi/api_cat-health.go b/opensearchapi/api_cat-health.go
index 3c73d82..4c7df9a 100644
--- a/opensearchapi/api_cat-health.go
+++ b/opensearchapi/api_cat-health.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatHealthReq represent possible options for the /_cat/health request
diff --git a/opensearchapi/api_cat-indices.go b/opensearchapi/api_cat-indices.go
index e4a42c8..b731395 100644
--- a/opensearchapi/api_cat-indices.go
+++ b/opensearchapi/api_cat-indices.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatIndicesReq represent possible options for the /_cat/indices request
diff --git a/opensearchapi/api_cat-master.go b/opensearchapi/api_cat-master.go
index 7c4fc00..bb16262 100644
--- a/opensearchapi/api_cat-master.go
+++ b/opensearchapi/api_cat-master.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatMasterReq represent possible options for the /_cat/master request
diff --git a/opensearchapi/api_cat-nodeattrs.go b/opensearchapi/api_cat-nodeattrs.go
index 5c46532..8f5cb6c 100644
--- a/opensearchapi/api_cat-nodeattrs.go
+++ b/opensearchapi/api_cat-nodeattrs.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatNodeAttrsReq represent possible options for the /_cat/nodeattrs request
diff --git a/opensearchapi/api_cat-nodes.go b/opensearchapi/api_cat-nodes.go
index 5fd40b7..352af49 100644
--- a/opensearchapi/api_cat-nodes.go
+++ b/opensearchapi/api_cat-nodes.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatNodesReq represent possible options for the /_cat/nodes request
diff --git a/opensearchapi/api_cat-pending_tasks.go b/opensearchapi/api_cat-pending_tasks.go
index 98e2783..c830d36 100644
--- a/opensearchapi/api_cat-pending_tasks.go
+++ b/opensearchapi/api_cat-pending_tasks.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatPendingTasksReq represent possible options for the /_cat/pending_tasks request
diff --git a/opensearchapi/api_cat-plugins.go b/opensearchapi/api_cat-plugins.go
index 65480a9..451d234 100644
--- a/opensearchapi/api_cat-plugins.go
+++ b/opensearchapi/api_cat-plugins.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatPluginsReq represent possible options for the /_cat/plugins request
diff --git a/opensearchapi/api_cat-recovery.go b/opensearchapi/api_cat-recovery.go
index 2d270f6..2dc29c3 100644
--- a/opensearchapi/api_cat-recovery.go
+++ b/opensearchapi/api_cat-recovery.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatRecoveryReq represent possible options for the /_cat/recovery request
diff --git a/opensearchapi/api_cat-repositories.go b/opensearchapi/api_cat-repositories.go
index 7f6b20a..760b458 100644
--- a/opensearchapi/api_cat-repositories.go
+++ b/opensearchapi/api_cat-repositories.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatRepositoriesReq represent possible options for the /_cat/repositories request
diff --git a/opensearchapi/api_cat-segments.go b/opensearchapi/api_cat-segments.go
index c51e81a..0dec8d2 100644
--- a/opensearchapi/api_cat-segments.go
+++ b/opensearchapi/api_cat-segments.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatSegmentsReq represent possible options for the /_cat/segments request
diff --git a/opensearchapi/api_cat-shards.go b/opensearchapi/api_cat-shards.go
index b9a91d8..10f6748 100644
--- a/opensearchapi/api_cat-shards.go
+++ b/opensearchapi/api_cat-shards.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatShardsReq represent possible options for the /_cat/shards request
diff --git a/opensearchapi/api_cat-snapshots.go b/opensearchapi/api_cat-snapshots.go
index 1663658..0e150b0 100644
--- a/opensearchapi/api_cat-snapshots.go
+++ b/opensearchapi/api_cat-snapshots.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatSnapshotsReq represent possible options for the /_cat/snapshots request
diff --git a/opensearchapi/api_cat-tasks.go b/opensearchapi/api_cat-tasks.go
index af67668..5a92399 100644
--- a/opensearchapi/api_cat-tasks.go
+++ b/opensearchapi/api_cat-tasks.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatTasksReq represent possible options for the /_cat/tasks request
diff --git a/opensearchapi/api_cat-templates.go b/opensearchapi/api_cat-templates.go
index 60fcf28..a92eb8b 100644
--- a/opensearchapi/api_cat-templates.go
+++ b/opensearchapi/api_cat-templates.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatTemplatesReq represent possible options for the /_cat/templates request
diff --git a/opensearchapi/api_cat-thread_pool.go b/opensearchapi/api_cat-thread_pool.go
index 48a1ede..7119380 100644
--- a/opensearchapi/api_cat-thread_pool.go
+++ b/opensearchapi/api_cat-thread_pool.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // CatThreadPoolReq represent possible options for the /_cat/thread_pool request
diff --git a/opensearchapi/api_cluster-allocation_explain.go b/opensearchapi/api_cluster-allocation_explain.go
index e03f5a1..2e9622a 100644
--- a/opensearchapi/api_cluster-allocation_explain.go
+++ b/opensearchapi/api_cluster-allocation_explain.go
@@ -12,7 +12,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterAllocationExplainReq represents possible options for the /_nodes request
diff --git a/opensearchapi/api_cluster-decommission.go b/opensearchapi/api_cluster-decommission.go
index c8ca7d8..d88d058 100644
--- a/opensearchapi/api_cluster-decommission.go
+++ b/opensearchapi/api_cluster-decommission.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterPutDecommissionReq represents possible options for the /_cluster/decommission/awareness request
diff --git a/opensearchapi/api_cluster-health.go b/opensearchapi/api_cluster-health.go
index e5e929f..a928737 100644
--- a/opensearchapi/api_cluster-health.go
+++ b/opensearchapi/api_cluster-health.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterHealthReq represents possible options for the /_cluster/health request
diff --git a/opensearchapi/api_cluster-pending_tasks.go b/opensearchapi/api_cluster-pending_tasks.go
index a030239..56bfb75 100644
--- a/opensearchapi/api_cluster-pending_tasks.go
+++ b/opensearchapi/api_cluster-pending_tasks.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterPendingTasksReq represents possible options for the /_cluster/pending_tasks request
diff --git a/opensearchapi/api_cluster-remote_info.go b/opensearchapi/api_cluster-remote_info.go
index 99643d4..b4b265f 100644
--- a/opensearchapi/api_cluster-remote_info.go
+++ b/opensearchapi/api_cluster-remote_info.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterRemoteInfoReq represents possible options for the /_remote/info request
diff --git a/opensearchapi/api_cluster-reroute.go b/opensearchapi/api_cluster-reroute.go
index 40ba58e..2178ca6 100644
--- a/opensearchapi/api_cluster-reroute.go
+++ b/opensearchapi/api_cluster-reroute.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterRerouteReq represents possible options for the /_cluster/reroute request
diff --git a/opensearchapi/api_cluster-settings.go b/opensearchapi/api_cluster-settings.go
index bb5d054..22c11b4 100644
--- a/opensearchapi/api_cluster-settings.go
+++ b/opensearchapi/api_cluster-settings.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterGetSettingsReq represents possible options for the /_cluster/settings request
diff --git a/opensearchapi/api_cluster-state.go b/opensearchapi/api_cluster-state.go
index 34b3742..c0c3e01 100644
--- a/opensearchapi/api_cluster-state.go
+++ b/opensearchapi/api_cluster-state.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterStateReq represents possible options for the /_cluster/state request
diff --git a/opensearchapi/api_cluster-stats.go b/opensearchapi/api_cluster-stats.go
index 6500b78..714954b 100644
--- a/opensearchapi/api_cluster-stats.go
+++ b/opensearchapi/api_cluster-stats.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterStatsReq represents possible options for the /_cluster/stats request
diff --git a/opensearchapi/api_cluster-voting_config_exclusions.go b/opensearchapi/api_cluster-voting_config_exclusions.go
index 4673645..c5c7b17 100644
--- a/opensearchapi/api_cluster-voting_config_exclusions.go
+++ b/opensearchapi/api_cluster-voting_config_exclusions.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ClusterPostVotingConfigExclusionsReq represents possible options for the /_cluster/voting_config_exclusions request
diff --git a/opensearchapi/api_cluster.go b/opensearchapi/api_cluster.go
index 40ad57a..d66a450 100644
--- a/opensearchapi/api_cluster.go
+++ b/opensearchapi/api_cluster.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"context"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type clusterClient struct {
diff --git a/opensearchapi/api_component_template-create.go b/opensearchapi/api_component_template-create.go
index 9a9c567..608437c 100644
--- a/opensearchapi/api_component_template-create.go
+++ b/opensearchapi/api_component_template-create.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ComponentTemplateCreateReq represents possible options for the _component_template create request
diff --git a/opensearchapi/api_component_template-delete.go b/opensearchapi/api_component_template-delete.go
index 7501390..799bdaa 100644
--- a/opensearchapi/api_component_template-delete.go
+++ b/opensearchapi/api_component_template-delete.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ComponentTemplateDeleteReq represents possible options for the _component_template delete request
diff --git a/opensearchapi/api_component_template-exists.go b/opensearchapi/api_component_template-exists.go
index a13abc3..3f13e8c 100644
--- a/opensearchapi/api_component_template-exists.go
+++ b/opensearchapi/api_component_template-exists.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ComponentTemplateExistsReq represents possible options for the _component_template exists request
diff --git a/opensearchapi/api_component_template-get.go b/opensearchapi/api_component_template-get.go
index 6587a04..637b796 100644
--- a/opensearchapi/api_component_template-get.go
+++ b/opensearchapi/api_component_template-get.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ComponentTemplateGetReq represents possible options for the _component_template get request
diff --git a/opensearchapi/api_component_template.go b/opensearchapi/api_component_template.go
index a0a6810..008efbc 100644
--- a/opensearchapi/api_component_template.go
+++ b/opensearchapi/api_component_template.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"context"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type componentTemplateClient struct {
diff --git a/opensearchapi/api_dangling-delete.go b/opensearchapi/api_dangling-delete.go
index d92eef5..5705614 100644
--- a/opensearchapi/api_dangling-delete.go
+++ b/opensearchapi/api_dangling-delete.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DanglingDeleteReq represents possible options for the delete dangling request
diff --git a/opensearchapi/api_dangling-get.go b/opensearchapi/api_dangling-get.go
index cc307b7..5b20c88 100644
--- a/opensearchapi/api_dangling-get.go
+++ b/opensearchapi/api_dangling-get.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DanglingGetReq represents possible options for the dangling get request
diff --git a/opensearchapi/api_dangling-import.go b/opensearchapi/api_dangling-import.go
index e0f9153..27d2fc5 100644
--- a/opensearchapi/api_dangling-import.go
+++ b/opensearchapi/api_dangling-import.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DanglingImportReq represents possible options for the dangling import request
diff --git a/opensearchapi/api_datastream-create.go b/opensearchapi/api_datastream-create.go
index debfddf..9ba4cee 100644
--- a/opensearchapi/api_datastream-create.go
+++ b/opensearchapi/api_datastream-create.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DataStreamCreateReq represents possible options for the _data_stream create request
diff --git a/opensearchapi/api_datastream-delete.go b/opensearchapi/api_datastream-delete.go
index 10d3f88..0bdb448 100644
--- a/opensearchapi/api_datastream-delete.go
+++ b/opensearchapi/api_datastream-delete.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DataStreamDeleteReq represents possible options for the index _data_stream delete request
diff --git a/opensearchapi/api_datastream-get.go b/opensearchapi/api_datastream-get.go
index ec880c4..595c28a 100644
--- a/opensearchapi/api_datastream-get.go
+++ b/opensearchapi/api_datastream-get.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DataStreamGetReq represents possible options for the _data_stream get request
diff --git a/opensearchapi/api_datastream-stats.go b/opensearchapi/api_datastream-stats.go
index b3f9281..2596d70 100644
--- a/opensearchapi/api_datastream-stats.go
+++ b/opensearchapi/api_datastream-stats.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DataStreamStatsReq represents possible options for the _data_stream stats request
diff --git a/opensearchapi/api_document-create.go b/opensearchapi/api_document-create.go
index a84ff29..8af66b3 100644
--- a/opensearchapi/api_document-create.go
+++ b/opensearchapi/api_document-create.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DocumentCreateReq represents possible options for the /<index>/_create request
diff --git a/opensearchapi/api_document-delete.go b/opensearchapi/api_document-delete.go
index eb693f0..b840ff6 100644
--- a/opensearchapi/api_document-delete.go
+++ b/opensearchapi/api_document-delete.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DocumentDeleteReq represents possible options for the /<index>/_doc/<DocID> delete request
diff --git a/opensearchapi/api_document-delete_by_query.go b/opensearchapi/api_document-delete_by_query.go
index 1da1ba6..909ec85 100644
--- a/opensearchapi/api_document-delete_by_query.go
+++ b/opensearchapi/api_document-delete_by_query.go
@@ -13,7 +13,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DocumentDeleteByQueryReq represents possible options for the /<index>/_delete_by_query request
diff --git a/opensearchapi/api_document-delete_by_query_rethrottle.go b/opensearchapi/api_document-delete_by_query_rethrottle.go
index 88af115..15efe22 100644
--- a/opensearchapi/api_document-delete_by_query_rethrottle.go
+++ b/opensearchapi/api_document-delete_by_query_rethrottle.go
@@ -11,7 +11,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DocumentDeleteByQueryRethrottleReq represents possible options for the /_delete_by_query/<index>/_rethrottle request
diff --git a/opensearchapi/api_document-exists.go b/opensearchapi/api_document-exists.go
index 9490ba3..23b9f58 100644
--- a/opensearchapi/api_document-exists.go
+++ b/opensearchapi/api_document-exists.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DocumentExistsReq represents possible options for the document exists request
diff --git a/opensearchapi/api_document-exists_source.go b/opensearchapi/api_document-exists_source.go
index 7accfe4..cb02f67 100644
--- a/opensearchapi/api_document-exists_source.go
+++ b/opensearchapi/api_document-exists_source.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DocumentExistsSourceReq represents possible options for the _source exists request
diff --git a/opensearchapi/api_document-explain.go b/opensearchapi/api_document-explain.go
index 0ef4c15..619b3fc 100644
--- a/opensearchapi/api_document-explain.go
+++ b/opensearchapi/api_document-explain.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DocumentExplainReq represents possible options for the /<Index>/_explain/<DocumentID> request
diff --git a/opensearchapi/api_document-get.go b/opensearchapi/api_document-get.go
index 12f86c8..697c5ae 100644
--- a/opensearchapi/api_document-get.go
+++ b/opensearchapi/api_document-get.go
@@ -11,7 +11,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DocumentGetReq represents possible options for the /<Index>/_doc/<DocumentID> get request
diff --git a/opensearchapi/api_document-source.go b/opensearchapi/api_document-source.go
index 52aed15..101055c 100644
--- a/opensearchapi/api_document-source.go
+++ b/opensearchapi/api_document-source.go
@@ -11,7 +11,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // DocumentSourceReq represents possible options for the /<Index>/_source/<DocumentID> get request
diff --git a/opensearchapi/api_document.go b/opensearchapi/api_document.go
index 56f4067..d6c8859 100644
--- a/opensearchapi/api_document.go
+++ b/opensearchapi/api_document.go
@@ -8,7 +8,7 @@ package opensearchapi
 import (
 	"context"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type documentClient struct {
diff --git a/opensearchapi/api_index.go b/opensearchapi/api_index.go
index 355cacd..c1a2439 100644
--- a/opensearchapi/api_index.go
+++ b/opensearchapi/api_index.go
@@ -12,7 +12,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Index executes a /_doc request with the given IndexReq
diff --git a/opensearchapi/api_index_template-create.go b/opensearchapi/api_index_template-create.go
index dc17baf..6cb07e6 100644
--- a/opensearchapi/api_index_template-create.go
+++ b/opensearchapi/api_index_template-create.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndexTemplateCreateReq represents possible options for the index create request
diff --git a/opensearchapi/api_index_template-delete.go b/opensearchapi/api_index_template-delete.go
index fb33363..10aa26c 100644
--- a/opensearchapi/api_index_template-delete.go
+++ b/opensearchapi/api_index_template-delete.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndexTemplateDeleteReq represents possible options for the index create request
diff --git a/opensearchapi/api_index_template-exists.go b/opensearchapi/api_index_template-exists.go
index 5a29020..90e9e96 100644
--- a/opensearchapi/api_index_template-exists.go
+++ b/opensearchapi/api_index_template-exists.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndexTemplateExistsReq represents possible options for the index create request
diff --git a/opensearchapi/api_index_template-get.go b/opensearchapi/api_index_template-get.go
index a0ce8c3..50c7dd3 100644
--- a/opensearchapi/api_index_template-get.go
+++ b/opensearchapi/api_index_template-get.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndexTemplateGetReq represents possible options for the index create request
diff --git a/opensearchapi/api_index_template-simulate.go b/opensearchapi/api_index_template-simulate.go
index 1aae13c..207f493 100644
--- a/opensearchapi/api_index_template-simulate.go
+++ b/opensearchapi/api_index_template-simulate.go
@@ -12,7 +12,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndexTemplateSimulateReq represents possible options for the index create request
diff --git a/opensearchapi/api_index_template-simulate_index.go b/opensearchapi/api_index_template-simulate_index.go
index 3c1dee5..a7624fb 100644
--- a/opensearchapi/api_index_template-simulate_index.go
+++ b/opensearchapi/api_index_template-simulate_index.go
@@ -12,7 +12,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndexTemplateSimulateIndexReq represents possible options for the index create request
diff --git a/opensearchapi/api_index_template.go b/opensearchapi/api_index_template.go
index 25f0a9f..67c603f 100644
--- a/opensearchapi/api_index_template.go
+++ b/opensearchapi/api_index_template.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"context"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type indexTemplateClient struct {
diff --git a/opensearchapi/api_indices-alias.go b/opensearchapi/api_indices-alias.go
index da014f8..2aaadea 100644
--- a/opensearchapi/api_indices-alias.go
+++ b/opensearchapi/api_indices-alias.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type aliasClient struct {
diff --git a/opensearchapi/api_indices-analyze.go b/opensearchapi/api_indices-analyze.go
index 5568029..31de02f 100644
--- a/opensearchapi/api_indices-analyze.go
+++ b/opensearchapi/api_indices-analyze.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesAnalyzeReq represents possible options for the <indices>/_analyze request
diff --git a/opensearchapi/api_indices-block.go b/opensearchapi/api_indices-block.go
index f287810..3d9513a 100644
--- a/opensearchapi/api_indices-block.go
+++ b/opensearchapi/api_indices-block.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesBlockReq represents possible options for the index create request
diff --git a/opensearchapi/api_indices-cache.go b/opensearchapi/api_indices-cache.go
index c0d2d29..e3e2bfa 100644
--- a/opensearchapi/api_indices-cache.go
+++ b/opensearchapi/api_indices-cache.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesClearCacheReq represents possible options for the index clear cache request
diff --git a/opensearchapi/api_indices-clone.go b/opensearchapi/api_indices-clone.go
index 0867f3a..7160ba8 100644
--- a/opensearchapi/api_indices-clone.go
+++ b/opensearchapi/api_indices-clone.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesCloneReq represents possible options for the index clone request
diff --git a/opensearchapi/api_indices-close.go b/opensearchapi/api_indices-close.go
index bb2d0d7..99f00e4 100644
--- a/opensearchapi/api_indices-close.go
+++ b/opensearchapi/api_indices-close.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesCloseReq represents possible options for the index close request
diff --git a/opensearchapi/api_indices-count.go b/opensearchapi/api_indices-count.go
index dae3048..389ab77 100644
--- a/opensearchapi/api_indices-count.go
+++ b/opensearchapi/api_indices-count.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesCountReq represents possible options for the index shrink request
diff --git a/opensearchapi/api_indices-create.go b/opensearchapi/api_indices-create.go
index e1353c3..76ba736 100644
--- a/opensearchapi/api_indices-create.go
+++ b/opensearchapi/api_indices-create.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesCreateReq represents possible options for the index create request
diff --git a/opensearchapi/api_indices-delete.go b/opensearchapi/api_indices-delete.go
index 6e14200..ac46f0a 100644
--- a/opensearchapi/api_indices-delete.go
+++ b/opensearchapi/api_indices-delete.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesDeleteReq represents possible options for the delete indices request
diff --git a/opensearchapi/api_indices-exists.go b/opensearchapi/api_indices-exists.go
index 9f7e0c9..6b0f2ec 100644
--- a/opensearchapi/api_indices-exists.go
+++ b/opensearchapi/api_indices-exists.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesExistsReq represents possible options for the index exists request
diff --git a/opensearchapi/api_indices-field_caps.go b/opensearchapi/api_indices-field_caps.go
index 527cbb0..a376c28 100644
--- a/opensearchapi/api_indices-field_caps.go
+++ b/opensearchapi/api_indices-field_caps.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesFieldCapsReq represents possible options for the index shrink request
diff --git a/opensearchapi/api_indices-flush.go b/opensearchapi/api_indices-flush.go
index cd41ab3..9ab38d3 100644
--- a/opensearchapi/api_indices-flush.go
+++ b/opensearchapi/api_indices-flush.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesFlushReq represents possible options for the flush indices request
diff --git a/opensearchapi/api_indices-forcemerge.go b/opensearchapi/api_indices-forcemerge.go
index 0b435e7..4ca388b 100644
--- a/opensearchapi/api_indices-forcemerge.go
+++ b/opensearchapi/api_indices-forcemerge.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesForcemergeReq represents possible options for the <index>/_forcemerge request
diff --git a/opensearchapi/api_indices-get.go b/opensearchapi/api_indices-get.go
index 362df81..4a6ecdb 100644
--- a/opensearchapi/api_indices-get.go
+++ b/opensearchapi/api_indices-get.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesGetReq represents possible options for the get indices request
diff --git a/opensearchapi/api_indices-mapping.go b/opensearchapi/api_indices-mapping.go
index 7f6ec0a..7e689fe 100644
--- a/opensearchapi/api_indices-mapping.go
+++ b/opensearchapi/api_indices-mapping.go
@@ -13,7 +13,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type mappingClient struct {
diff --git a/opensearchapi/api_indices-open.go b/opensearchapi/api_indices-open.go
index 81d4487..5197c07 100644
--- a/opensearchapi/api_indices-open.go
+++ b/opensearchapi/api_indices-open.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesOpenReq represents possible options for the index open request
diff --git a/opensearchapi/api_indices-recovery.go b/opensearchapi/api_indices-recovery.go
index c2029be..edc216b 100644
--- a/opensearchapi/api_indices-recovery.go
+++ b/opensearchapi/api_indices-recovery.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesRecoveryReq represents possible options for the index shrink request
diff --git a/opensearchapi/api_indices-refresh.go b/opensearchapi/api_indices-refresh.go
index f89999a..bd16be9 100644
--- a/opensearchapi/api_indices-refresh.go
+++ b/opensearchapi/api_indices-refresh.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesRefreshReq represents possible options for the <index>/_refresh request
diff --git a/opensearchapi/api_indices-resolve.go b/opensearchapi/api_indices-resolve.go
index 6aebd24..eba983a 100644
--- a/opensearchapi/api_indices-resolve.go
+++ b/opensearchapi/api_indices-resolve.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesResolveReq represents possible options for the get indices request
diff --git a/opensearchapi/api_indices-rollover.go b/opensearchapi/api_indices-rollover.go
index d062f82..a4a4962 100644
--- a/opensearchapi/api_indices-rollover.go
+++ b/opensearchapi/api_indices-rollover.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesRolloverReq represents possible options for the index shrink request
diff --git a/opensearchapi/api_indices-segments.go b/opensearchapi/api_indices-segments.go
index 9e18ed5..cc78c7e 100644
--- a/opensearchapi/api_indices-segments.go
+++ b/opensearchapi/api_indices-segments.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesSegmentsReq represents possible options for the index shrink request
diff --git a/opensearchapi/api_indices-settings.go b/opensearchapi/api_indices-settings.go
index 9188b59..70ed77e 100644
--- a/opensearchapi/api_indices-settings.go
+++ b/opensearchapi/api_indices-settings.go
@@ -13,7 +13,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type settingsClient struct {
diff --git a/opensearchapi/api_indices-shardstores.go b/opensearchapi/api_indices-shardstores.go
index b09bc6e..e9584b8 100644
--- a/opensearchapi/api_indices-shardstores.go
+++ b/opensearchapi/api_indices-shardstores.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesShardStoresReq represents possible options for the index shrink request
diff --git a/opensearchapi/api_indices-shrink.go b/opensearchapi/api_indices-shrink.go
index 00baf1b..3a11b82 100644
--- a/opensearchapi/api_indices-shrink.go
+++ b/opensearchapi/api_indices-shrink.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesShrinkReq represents possible options for the index shrink request
diff --git a/opensearchapi/api_indices-split.go b/opensearchapi/api_indices-split.go
index 738d7a2..07f085c 100644
--- a/opensearchapi/api_indices-split.go
+++ b/opensearchapi/api_indices-split.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesSplitReq represents possible options for the index split request
diff --git a/opensearchapi/api_indices-stats.go b/opensearchapi/api_indices-stats.go
index b29c261..d5bdccc 100644
--- a/opensearchapi/api_indices-stats.go
+++ b/opensearchapi/api_indices-stats.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesStatsReq represents possible options for the index shrink request
diff --git a/opensearchapi/api_indices-validate.go b/opensearchapi/api_indices-validate.go
index 99d407a..7e1a3fa 100644
--- a/opensearchapi/api_indices-validate.go
+++ b/opensearchapi/api_indices-validate.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IndicesValidateQueryReq represents possible options for the index shrink request
diff --git a/opensearchapi/api_indices.go b/opensearchapi/api_indices.go
index 8abfa66..0e8f8a9 100644
--- a/opensearchapi/api_indices.go
+++ b/opensearchapi/api_indices.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"context"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type indicesClient struct {
diff --git a/opensearchapi/api_info.go b/opensearchapi/api_info.go
index 6e228d1..45277b2 100644
--- a/opensearchapi/api_info.go
+++ b/opensearchapi/api_info.go
@@ -10,7 +10,7 @@ import (
 	"context"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Info executes a / request with the optional InfoReq
diff --git a/opensearchapi/api_ingest-create.go b/opensearchapi/api_ingest-create.go
index f77f6b1..fce4645 100644
--- a/opensearchapi/api_ingest-create.go
+++ b/opensearchapi/api_ingest-create.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IngestCreateReq represents possible options for the index create request
diff --git a/opensearchapi/api_ingest-delete.go b/opensearchapi/api_ingest-delete.go
index d13b627..f09622d 100644
--- a/opensearchapi/api_ingest-delete.go
+++ b/opensearchapi/api_ingest-delete.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IngestDeleteReq represents possible options for the index create request
diff --git a/opensearchapi/api_ingest-get.go b/opensearchapi/api_ingest-get.go
index 4f1583a..a5ad90c 100644
--- a/opensearchapi/api_ingest-get.go
+++ b/opensearchapi/api_ingest-get.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IngestGetReq represents possible options for the index create request
diff --git a/opensearchapi/api_ingest-grok.go b/opensearchapi/api_ingest-grok.go
index 073a828..7870503 100644
--- a/opensearchapi/api_ingest-grok.go
+++ b/opensearchapi/api_ingest-grok.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IngestGrokReq represents possible options for the index create request
diff --git a/opensearchapi/api_ingest-simulate.go b/opensearchapi/api_ingest-simulate.go
index 6346b8d..b75f977 100644
--- a/opensearchapi/api_ingest-simulate.go
+++ b/opensearchapi/api_ingest-simulate.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // IngestSimulateReq represents possible options for the index create request
diff --git a/opensearchapi/api_mget.go b/opensearchapi/api_mget.go
index edc071c..e1994d3 100644
--- a/opensearchapi/api_mget.go
+++ b/opensearchapi/api_mget.go
@@ -13,7 +13,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // MGet executes a /_mget request with the optional MGetReq
diff --git a/opensearchapi/api_msearch-template.go b/opensearchapi/api_msearch-template.go
index ec1021c..a836a4c 100644
--- a/opensearchapi/api_msearch-template.go
+++ b/opensearchapi/api_msearch-template.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // MSearchTemplate executes a /_msearch request with the optional MSearchTemplateReq
diff --git a/opensearchapi/api_msearch.go b/opensearchapi/api_msearch.go
index c6bc740..6abfc75 100644
--- a/opensearchapi/api_msearch.go
+++ b/opensearchapi/api_msearch.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // MSearch executes a /_msearch request with the optional MSearchReq
diff --git a/opensearchapi/api_mtermvectors.go b/opensearchapi/api_mtermvectors.go
index 2a76799..71f9c14 100644
--- a/opensearchapi/api_mtermvectors.go
+++ b/opensearchapi/api_mtermvectors.go
@@ -13,7 +13,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // MTermvectors executes a /_mtermvectors request with the required MTermvectorsReq
diff --git a/opensearchapi/api_nodes-hot_threads.go b/opensearchapi/api_nodes-hot_threads.go
index 1260a0a..ee5f5ad 100644
--- a/opensearchapi/api_nodes-hot_threads.go
+++ b/opensearchapi/api_nodes-hot_threads.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // NodesHotThreadsReq represents possible options for the /_nodes request
diff --git a/opensearchapi/api_nodes-info.go b/opensearchapi/api_nodes-info.go
index c2ccd69..cfd3e68 100644
--- a/opensearchapi/api_nodes-info.go
+++ b/opensearchapi/api_nodes-info.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // NodesInfoReq represents possible options for the /_nodes request
diff --git a/opensearchapi/api_nodes-reload_security.go b/opensearchapi/api_nodes-reload_security.go
index 79dc77f..3240909 100644
--- a/opensearchapi/api_nodes-reload_security.go
+++ b/opensearchapi/api_nodes-reload_security.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // NodesReloadSecurityReq represents possible options for the /_nodes request
diff --git a/opensearchapi/api_nodes-stats.go b/opensearchapi/api_nodes-stats.go
index 217c8fa..b535b17 100644
--- a/opensearchapi/api_nodes-stats.go
+++ b/opensearchapi/api_nodes-stats.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // NodesStatsReq represents possible options for the /_nodes request
diff --git a/opensearchapi/api_nodes-usage.go b/opensearchapi/api_nodes-usage.go
index 5b1b13f..4b5f392 100644
--- a/opensearchapi/api_nodes-usage.go
+++ b/opensearchapi/api_nodes-usage.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // NodesUsageReq represents possible options for the /_nodes request
diff --git a/opensearchapi/api_nodes.go b/opensearchapi/api_nodes.go
index 7c2002d..b4f9c94 100644
--- a/opensearchapi/api_nodes.go
+++ b/opensearchapi/api_nodes.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"context"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type nodesClient struct {
diff --git a/opensearchapi/api_ping.go b/opensearchapi/api_ping.go
index 5fd5a86..e9657d4 100644
--- a/opensearchapi/api_ping.go
+++ b/opensearchapi/api_ping.go
@@ -10,7 +10,7 @@ import (
 	"context"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Ping executes a / request with the optional PingReq
diff --git a/opensearchapi/api_point_in_time-create.go b/opensearchapi/api_point_in_time-create.go
index 5ddefd1..e0ebaef 100644
--- a/opensearchapi/api_point_in_time-create.go
+++ b/opensearchapi/api_point_in_time-create.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // PointInTimeCreateReq represents possible options for the index create request
diff --git a/opensearchapi/api_point_in_time-delete.go b/opensearchapi/api_point_in_time-delete.go
index a932f6f..2e8ae47 100644
--- a/opensearchapi/api_point_in_time-delete.go
+++ b/opensearchapi/api_point_in_time-delete.go
@@ -12,7 +12,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // PointInTimeDeleteReq represents possible options for the index create request
diff --git a/opensearchapi/api_point_in_time-get.go b/opensearchapi/api_point_in_time-get.go
index 7538359..9168806 100644
--- a/opensearchapi/api_point_in_time-get.go
+++ b/opensearchapi/api_point_in_time-get.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // PointInTimeGetReq represents possible options for the index create request
diff --git a/opensearchapi/api_rank_eval.go b/opensearchapi/api_rank_eval.go
index cdde0c1..d893005 100644
--- a/opensearchapi/api_rank_eval.go
+++ b/opensearchapi/api_rank_eval.go
@@ -13,7 +13,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // RankEval executes a /_rank_eval request with the required RankEvalReq
diff --git a/opensearchapi/api_reindex.go b/opensearchapi/api_reindex.go
index b1860e3..d2942bc 100644
--- a/opensearchapi/api_reindex.go
+++ b/opensearchapi/api_reindex.go
@@ -12,7 +12,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Reindex executes a / request with the optional ReindexReq
diff --git a/opensearchapi/api_reindex_rethrottle.go b/opensearchapi/api_reindex_rethrottle.go
index c4ac6e6..64ac0bb 100644
--- a/opensearchapi/api_reindex_rethrottle.go
+++ b/opensearchapi/api_reindex_rethrottle.go
@@ -12,7 +12,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ReindexRethrottle executes a / request with the optional ReindexRethrottleReq
diff --git a/opensearchapi/api_render_search_template.go b/opensearchapi/api_render_search_template.go
index 57805e7..80f439e 100644
--- a/opensearchapi/api_render_search_template.go
+++ b/opensearchapi/api_render_search_template.go
@@ -13,7 +13,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // RenderSearchTemplate executes a /_render/template request with the required RenderSearchTemplateReq
diff --git a/opensearchapi/api_script-context.go b/opensearchapi/api_script-context.go
index 0233ba5..203a74e 100644
--- a/opensearchapi/api_script-context.go
+++ b/opensearchapi/api_script-context.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ScriptContextReq represents possible options for the delete script request
diff --git a/opensearchapi/api_script-delete.go b/opensearchapi/api_script-delete.go
index a2bffd4..1e7edcd 100644
--- a/opensearchapi/api_script-delete.go
+++ b/opensearchapi/api_script-delete.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ScriptDeleteReq represents possible options for the delete script request
diff --git a/opensearchapi/api_script-get.go b/opensearchapi/api_script-get.go
index e2df8c1..f0a813f 100644
--- a/opensearchapi/api_script-get.go
+++ b/opensearchapi/api_script-get.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ScriptGetReq represents possible options for the get script request
diff --git a/opensearchapi/api_script-language.go b/opensearchapi/api_script-language.go
index 76ff88d..df46b3b 100644
--- a/opensearchapi/api_script-language.go
+++ b/opensearchapi/api_script-language.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ScriptLanguageReq represents possible options for the delete script request
diff --git a/opensearchapi/api_script-painless_execute.go b/opensearchapi/api_script-painless_execute.go
index 60d833d..8616059 100644
--- a/opensearchapi/api_script-painless_execute.go
+++ b/opensearchapi/api_script-painless_execute.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ScriptPainlessExecuteReq represents possible options for the delete script request
diff --git a/opensearchapi/api_script-put.go b/opensearchapi/api_script-put.go
index 3b5bacf..70a1ebb 100644
--- a/opensearchapi/api_script-put.go
+++ b/opensearchapi/api_script-put.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ScriptPutReq represents possible options for the put script request
diff --git a/opensearchapi/api_scroll-delete.go b/opensearchapi/api_scroll-delete.go
index c5216fa..e341aa0 100644
--- a/opensearchapi/api_scroll-delete.go
+++ b/opensearchapi/api_scroll-delete.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ScrollDeleteReq represents possible options for the index create request
diff --git a/opensearchapi/api_scroll-get.go b/opensearchapi/api_scroll-get.go
index 412fa31..d173ec6 100644
--- a/opensearchapi/api_scroll-get.go
+++ b/opensearchapi/api_scroll-get.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // ScrollGetReq represents possible options for the index create request
diff --git a/opensearchapi/api_search-template.go b/opensearchapi/api_search-template.go
index 479f345..e93ca9c 100644
--- a/opensearchapi/api_search-template.go
+++ b/opensearchapi/api_search-template.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SearchTemplate executes a /_search request with the optional SearchTemplateReq
diff --git a/opensearchapi/api_search.go b/opensearchapi/api_search.go
index c765fa6..46e1213 100644
--- a/opensearchapi/api_search.go
+++ b/opensearchapi/api_search.go
@@ -14,7 +14,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Search executes a /_search request with the optional SearchReq
diff --git a/opensearchapi/api_search_shards.go b/opensearchapi/api_search_shards.go
index a0e59db..2832514 100644
--- a/opensearchapi/api_search_shards.go
+++ b/opensearchapi/api_search_shards.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SearchShards executes a /_search request with the optional SearchShardsReq
diff --git a/opensearchapi/api_snapshot-clone.go b/opensearchapi/api_snapshot-clone.go
index 1245685..1922664 100644
--- a/opensearchapi/api_snapshot-clone.go
+++ b/opensearchapi/api_snapshot-clone.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotCloneReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot-create.go b/opensearchapi/api_snapshot-create.go
index f6121f2..921cdea 100644
--- a/opensearchapi/api_snapshot-create.go
+++ b/opensearchapi/api_snapshot-create.go
@@ -12,7 +12,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotCreateReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot-delete.go b/opensearchapi/api_snapshot-delete.go
index 2a73fb5..142c1e5 100644
--- a/opensearchapi/api_snapshot-delete.go
+++ b/opensearchapi/api_snapshot-delete.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotDeleteReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot-get.go b/opensearchapi/api_snapshot-get.go
index 06c321f..5b37bea 100644
--- a/opensearchapi/api_snapshot-get.go
+++ b/opensearchapi/api_snapshot-get.go
@@ -13,7 +13,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotGetReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot-restore.go b/opensearchapi/api_snapshot-restore.go
index cee2080..ae97dc0 100644
--- a/opensearchapi/api_snapshot-restore.go
+++ b/opensearchapi/api_snapshot-restore.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotRestoreReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot-status.go b/opensearchapi/api_snapshot-status.go
index 9cfc686..3907446 100644
--- a/opensearchapi/api_snapshot-status.go
+++ b/opensearchapi/api_snapshot-status.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotStatusReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot_repository-cleanup.go b/opensearchapi/api_snapshot_repository-cleanup.go
index eb03f79..399beb0 100644
--- a/opensearchapi/api_snapshot_repository-cleanup.go
+++ b/opensearchapi/api_snapshot_repository-cleanup.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotRepositoryCleanupReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot_repository-create.go b/opensearchapi/api_snapshot_repository-create.go
index cd77c7a..8fc739a 100644
--- a/opensearchapi/api_snapshot_repository-create.go
+++ b/opensearchapi/api_snapshot_repository-create.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotRepositoryCreateReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot_repository-delete.go b/opensearchapi/api_snapshot_repository-delete.go
index f418d73..bfd522a 100644
--- a/opensearchapi/api_snapshot_repository-delete.go
+++ b/opensearchapi/api_snapshot_repository-delete.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotRepositoryDeleteReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot_repository-get.go b/opensearchapi/api_snapshot_repository-get.go
index b68f67a..b1027c2 100644
--- a/opensearchapi/api_snapshot_repository-get.go
+++ b/opensearchapi/api_snapshot_repository-get.go
@@ -10,7 +10,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotRepositoryGetReq represents possible options for the index create request
diff --git a/opensearchapi/api_snapshot_repository-verify.go b/opensearchapi/api_snapshot_repository-verify.go
index b5a76b6..4ca7e19 100644
--- a/opensearchapi/api_snapshot_repository-verify.go
+++ b/opensearchapi/api_snapshot_repository-verify.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // SnapshotRepositoryVerifyReq represents possible options for the index create request
diff --git a/opensearchapi/api_tasks-cancel.go b/opensearchapi/api_tasks-cancel.go
index df10846..7809315 100644
--- a/opensearchapi/api_tasks-cancel.go
+++ b/opensearchapi/api_tasks-cancel.go
@@ -11,7 +11,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // TasksCancelReq represents possible options for the index create request
diff --git a/opensearchapi/api_tasks-get.go b/opensearchapi/api_tasks-get.go
index ed19731..e4a0eb0 100644
--- a/opensearchapi/api_tasks-get.go
+++ b/opensearchapi/api_tasks-get.go
@@ -11,7 +11,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // TasksGetReq represents possible options for the index create request
diff --git a/opensearchapi/api_tasks-list.go b/opensearchapi/api_tasks-list.go
index bf4b19f..7d3ecaf 100644
--- a/opensearchapi/api_tasks-list.go
+++ b/opensearchapi/api_tasks-list.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // TasksListReq represents possible options for the index create request
diff --git a/opensearchapi/api_template-create.go b/opensearchapi/api_template-create.go
index 96ecc63..db971f2 100644
--- a/opensearchapi/api_template-create.go
+++ b/opensearchapi/api_template-create.go
@@ -11,7 +11,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // TemplateCreateReq represents possible options for the index create request
diff --git a/opensearchapi/api_template-delete.go b/opensearchapi/api_template-delete.go
index efb7079..ee82b0f 100644
--- a/opensearchapi/api_template-delete.go
+++ b/opensearchapi/api_template-delete.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // TemplateDeleteReq represents possible options for the index create request
diff --git a/opensearchapi/api_template-exists.go b/opensearchapi/api_template-exists.go
index da95bb9..201b146 100644
--- a/opensearchapi/api_template-exists.go
+++ b/opensearchapi/api_template-exists.go
@@ -10,7 +10,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // TemplateExistsReq represents possible options for the index create request
diff --git a/opensearchapi/api_template-get.go b/opensearchapi/api_template-get.go
index 38a0ff2..fb8e157 100644
--- a/opensearchapi/api_template-get.go
+++ b/opensearchapi/api_template-get.go
@@ -12,7 +12,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // TemplateGetReq represents possible options for the index create request
diff --git a/opensearchapi/api_template.go b/opensearchapi/api_template.go
index 218b413..799c2bf 100644
--- a/opensearchapi/api_template.go
+++ b/opensearchapi/api_template.go
@@ -9,7 +9,7 @@ package opensearchapi
 import (
 	"context"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 type templateClient struct {
diff --git a/opensearchapi/api_termvectors.go b/opensearchapi/api_termvectors.go
index 7a8be30..37bc120 100644
--- a/opensearchapi/api_termvectors.go
+++ b/opensearchapi/api_termvectors.go
@@ -13,7 +13,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Termvectors executes a /_termvectors request with the required TermvectorsReq
diff --git a/opensearchapi/api_update.go b/opensearchapi/api_update.go
index 672f691..f0c87b2 100644
--- a/opensearchapi/api_update.go
+++ b/opensearchapi/api_update.go
@@ -12,7 +12,7 @@ import (
 	"io"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Update executes a /_update request with the optional UpdateReq
diff --git a/opensearchapi/api_update_by_query.go b/opensearchapi/api_update_by_query.go
index c69c468..2627a6b 100644
--- a/opensearchapi/api_update_by_query.go
+++ b/opensearchapi/api_update_by_query.go
@@ -14,7 +14,7 @@ import (
 	"net/http"
 	"strings"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // UpdateByQuery executes a /_update_by_query request with the optional UpdateByQueryReq
diff --git a/opensearchapi/api_update_by_query_rethrottle.go b/opensearchapi/api_update_by_query_rethrottle.go
index 1072fdc..aeec7fc 100644
--- a/opensearchapi/api_update_by_query_rethrottle.go
+++ b/opensearchapi/api_update_by_query_rethrottle.go
@@ -12,7 +12,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // UpdateByQueryRethrottle executes a / request with the optional UpdateByQueryRethrottleReq
diff --git a/opensearchapi/inspect.go b/opensearchapi/inspect.go
index 657239a..616b612 100644
--- a/opensearchapi/inspect.go
+++ b/opensearchapi/inspect.go
@@ -6,7 +6,7 @@
 
 package opensearchapi
 
-import "github.com/opensearch-project/opensearch-go/v2"
+import "github.com/opensearch-project/opensearch-go/v3"
 
 // Inspect represents the struct returned by Inspect() func, its main use is to return the opensearch.Response to the user
 type Inspect struct {
diff --git a/opensearchapi/opensearchapi.go b/opensearchapi/opensearchapi.go
index 59b4139..933cccc 100644
--- a/opensearchapi/opensearchapi.go
+++ b/opensearchapi/opensearchapi.go
@@ -15,7 +15,7 @@ import (
 	"strconv"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 // Config represents the client configuration
diff --git a/opensearchtransport/opensearchtransport.go b/opensearchtransport/opensearchtransport.go
index 199d530..e1cfc29 100644
--- a/opensearchtransport/opensearchtransport.go
+++ b/opensearchtransport/opensearchtransport.go
@@ -43,8 +43,8 @@ import (
 	"sync"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2/internal/version"
-	"github.com/opensearch-project/opensearch-go/v2/signer"
+	"github.com/opensearch-project/opensearch-go/v3/internal/version"
+	"github.com/opensearch-project/opensearch-go/v3/signer"
 )
 
 const (
diff --git a/opensearchutil/bulk_indexer.go b/opensearchutil/bulk_indexer.go
index 8da0b91..bbe94bd 100644
--- a/opensearchutil/bulk_indexer.go
+++ b/opensearchutil/bulk_indexer.go
@@ -38,7 +38,7 @@ import (
 	"sync/atomic"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 const defaultFlushInterval = 30 * time.Second
diff --git a/signer/awsv2/sdkv2signer.go b/signer/awsv2/sdkv2signer.go
index aeb0071..a208ecc 100644
--- a/signer/awsv2/sdkv2signer.go
+++ b/signer/awsv2/sdkv2signer.go
@@ -24,7 +24,7 @@ import (
 	"github.com/aws/aws-sdk-go-v2/aws"
 	awsSignerV4 "github.com/aws/aws-sdk-go-v2/aws/signer/v4"
 
-	"github.com/opensearch-project/opensearch-go/v2/signer"
+	"github.com/opensearch-project/opensearch-go/v3/signer"
 )
 
 const (


Test patch:
diff --git a/opensearch_benchmark_test.go b/opensearch_benchmark_test.go
index e0068e8..a4234e5 100644
--- a/opensearch_benchmark_test.go
+++ b/opensearch_benchmark_test.go
@@ -37,8 +37,8 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 type FakeTransport struct {
diff --git a/opensearch_example_test.go b/opensearch_example_test.go
index fbaab12..fbe42d8 100644
--- a/opensearch_example_test.go
+++ b/opensearch_example_test.go
@@ -37,9 +37,9 @@ import (
 	"os"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
 )
 
 func init() {
diff --git a/opensearch_integration_test.go b/opensearch_integration_test.go
index a2a479b..74eb2b0 100644
--- a/opensearch_integration_test.go
+++ b/opensearch_integration_test.go
@@ -40,9 +40,9 @@ import (
 	"testing"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
 )
 
 func TestClientTransport(t *testing.T) {
diff --git a/opensearch_internal_test.go b/opensearch_internal_test.go
index a8440fc..637dfa8 100644
--- a/opensearch_internal_test.go
+++ b/opensearch_internal_test.go
@@ -38,7 +38,7 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
 )
 
 var called bool
diff --git a/opensearch_secure_integration_test.go b/opensearch_secure_integration_test.go
index 1ee91da..753b41f 100644
--- a/opensearch_secure_integration_test.go
+++ b/opensearch_secure_integration_test.go
@@ -32,8 +32,8 @@ import (
 
 	"github.com/stretchr/testify/assert"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 func getSecuredClient() (*opensearchapi.Client, error) {
diff --git a/opensearchapi/api_aliases_test.go b/opensearchapi/api_aliases_test.go
index c78d9ef..391f622 100644
--- a/opensearchapi/api_aliases_test.go
+++ b/opensearchapi/api_aliases_test.go
@@ -14,8 +14,8 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestAliases(t *testing.T) {
diff --git a/opensearchapi/api_bulk_test.go b/opensearchapi/api_bulk_test.go
index a1d6ddb..403f44c 100644
--- a/opensearchapi/api_bulk_test.go
+++ b/opensearchapi/api_bulk_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestBulkClient(t *testing.T) {
diff --git a/opensearchapi/api_cat_test.go b/opensearchapi/api_cat_test.go
index bb8d90b..6f1a2b4 100644
--- a/opensearchapi/api_cat_test.go
+++ b/opensearchapi/api_cat_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestCatClient(t *testing.T) {
diff --git a/opensearchapi/api_cluster_test.go b/opensearchapi/api_cluster_test.go
index 88ba0f6..29e834b 100644
--- a/opensearchapi/api_cluster_test.go
+++ b/opensearchapi/api_cluster_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestClusterClient(t *testing.T) {
diff --git a/opensearchapi/api_component_template_test.go b/opensearchapi/api_component_template_test.go
index 1bed017..6a22dc4 100644
--- a/opensearchapi/api_component_template_test.go
+++ b/opensearchapi/api_component_template_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestComponentTemplateClient(t *testing.T) {
diff --git a/opensearchapi/api_dangling_test.go b/opensearchapi/api_dangling_test.go
index c0b284c..e9098b0 100644
--- a/opensearchapi/api_dangling_test.go
+++ b/opensearchapi/api_dangling_test.go
@@ -20,9 +20,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestDanglingClient(t *testing.T) {
diff --git a/opensearchapi/api_datastream_test.go b/opensearchapi/api_datastream_test.go
index 77a4526..5c6ecd6 100644
--- a/opensearchapi/api_datastream_test.go
+++ b/opensearchapi/api_datastream_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestDataStreamClient(t *testing.T) {
diff --git a/opensearchapi/api_document_test.go b/opensearchapi/api_document_test.go
index e5d2b90..95e4d34 100644
--- a/opensearchapi/api_document_test.go
+++ b/opensearchapi/api_document_test.go
@@ -17,9 +17,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 func TestDocumentClient(t *testing.T) {
diff --git a/opensearchapi/api_index_template_test.go b/opensearchapi/api_index_template_test.go
index 2482408..0a1d9b6 100644
--- a/opensearchapi/api_index_template_test.go
+++ b/opensearchapi/api_index_template_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestIndexTemplateClient(t *testing.T) {
diff --git a/opensearchapi/api_index_test.go b/opensearchapi/api_index_test.go
index df657f9..49e93b4 100644
--- a/opensearchapi/api_index_test.go
+++ b/opensearchapi/api_index_test.go
@@ -17,8 +17,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestIndexClient(t *testing.T) {
diff --git a/opensearchapi/api_indices_test.go b/opensearchapi/api_indices_test.go
index a2dc014..afd621f 100644
--- a/opensearchapi/api_indices_test.go
+++ b/opensearchapi/api_indices_test.go
@@ -15,9 +15,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 type dummyInspect struct {
diff --git a/opensearchapi/api_info_test.go b/opensearchapi/api_info_test.go
index a4b3771..f518672 100644
--- a/opensearchapi/api_info_test.go
+++ b/opensearchapi/api_info_test.go
@@ -14,8 +14,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestInfo(t *testing.T) {
diff --git a/opensearchapi/api_ingest_test.go b/opensearchapi/api_ingest_test.go
index a99d7c4..68e4637 100644
--- a/opensearchapi/api_ingest_test.go
+++ b/opensearchapi/api_ingest_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestIngestClient(t *testing.T) {
diff --git a/opensearchapi/api_mget_test.go b/opensearchapi/api_mget_test.go
index 95a5d92..6576a21 100644
--- a/opensearchapi/api_mget_test.go
+++ b/opensearchapi/api_mget_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestMGet(t *testing.T) {
diff --git a/opensearchapi/api_msearch-template_test.go b/opensearchapi/api_msearch-template_test.go
index 6548a49..f35efce 100644
--- a/opensearchapi/api_msearch-template_test.go
+++ b/opensearchapi/api_msearch-template_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestMSearchTemplate(t *testing.T) {
diff --git a/opensearchapi/api_msearch_test.go b/opensearchapi/api_msearch_test.go
index 052829d..824e2b5 100644
--- a/opensearchapi/api_msearch_test.go
+++ b/opensearchapi/api_msearch_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestMSearch(t *testing.T) {
diff --git a/opensearchapi/api_mtermvectors_test.go b/opensearchapi/api_mtermvectors_test.go
index 496ecff..29b86a2 100644
--- a/opensearchapi/api_mtermvectors_test.go
+++ b/opensearchapi/api_mtermvectors_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestMTermvectors(t *testing.T) {
diff --git a/opensearchapi/api_nodes_test.go b/opensearchapi/api_nodes_test.go
index 1d08efa..e601b80 100644
--- a/opensearchapi/api_nodes_test.go
+++ b/opensearchapi/api_nodes_test.go
@@ -14,8 +14,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestNodes(t *testing.T) {
diff --git a/opensearchapi/api_ping_test.go b/opensearchapi/api_ping_test.go
index 9ed3574..8d9a9ac 100644
--- a/opensearchapi/api_ping_test.go
+++ b/opensearchapi/api_ping_test.go
@@ -14,8 +14,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestPing(t *testing.T) {
diff --git a/opensearchapi/api_point_in_time_test.go b/opensearchapi/api_point_in_time_test.go
index 278d933..6cc6a64 100644
--- a/opensearchapi/api_point_in_time_test.go
+++ b/opensearchapi/api_point_in_time_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestPointInTimeClient(t *testing.T) {
diff --git a/opensearchapi/api_rank_eval_test.go b/opensearchapi/api_rank_eval_test.go
index 19b1e3a..af9a3a9 100644
--- a/opensearchapi/api_rank_eval_test.go
+++ b/opensearchapi/api_rank_eval_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestRankEval(t *testing.T) {
diff --git a/opensearchapi/api_reindex_rethrottle_test.go b/opensearchapi/api_reindex_rethrottle_test.go
index 3060bb5..3d44b69 100644
--- a/opensearchapi/api_reindex_rethrottle_test.go
+++ b/opensearchapi/api_reindex_rethrottle_test.go
@@ -18,9 +18,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 func TestReindexRethrottle(t *testing.T) {
diff --git a/opensearchapi/api_reindex_test.go b/opensearchapi/api_reindex_test.go
index dc0d4fe..c203ca0 100644
--- a/opensearchapi/api_reindex_test.go
+++ b/opensearchapi/api_reindex_test.go
@@ -18,9 +18,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 func TestReindex(t *testing.T) {
diff --git a/opensearchapi/api_render_search_template_test.go b/opensearchapi/api_render_search_template_test.go
index 1a3fe73..c684f4f 100644
--- a/opensearchapi/api_render_search_template_test.go
+++ b/opensearchapi/api_render_search_template_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestRenderSearchTemplate(t *testing.T) {
diff --git a/opensearchapi/api_script_test.go b/opensearchapi/api_script_test.go
index 7f5785c..9b951c4 100644
--- a/opensearchapi/api_script_test.go
+++ b/opensearchapi/api_script_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestScriptClient(t *testing.T) {
diff --git a/opensearchapi/api_scroll_test.go b/opensearchapi/api_scroll_test.go
index aca7e8d..4be665f 100644
--- a/opensearchapi/api_scroll_test.go
+++ b/opensearchapi/api_scroll_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestScrollClient(t *testing.T) {
diff --git a/opensearchapi/api_search-template_test.go b/opensearchapi/api_search-template_test.go
index ed9691a..8482590 100644
--- a/opensearchapi/api_search-template_test.go
+++ b/opensearchapi/api_search-template_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestSearchTemplate(t *testing.T) {
diff --git a/opensearchapi/api_search_shards_test.go b/opensearchapi/api_search_shards_test.go
index d1a08f7..7652532 100644
--- a/opensearchapi/api_search_shards_test.go
+++ b/opensearchapi/api_search_shards_test.go
@@ -11,8 +11,8 @@ package opensearchapi_test
 import (
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 )
diff --git a/opensearchapi/api_search_test.go b/opensearchapi/api_search_test.go
index 9f92eb2..4a47bd5 100644
--- a/opensearchapi/api_search_test.go
+++ b/opensearchapi/api_search_test.go
@@ -12,8 +12,8 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 )
diff --git a/opensearchapi/api_snapshot_test.go b/opensearchapi/api_snapshot_test.go
index 65cad3a..7577f24 100644
--- a/opensearchapi/api_snapshot_test.go
+++ b/opensearchapi/api_snapshot_test.go
@@ -17,8 +17,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestSnapshotClient(t *testing.T) {
diff --git a/opensearchapi/api_tasks_test.go b/opensearchapi/api_tasks_test.go
index 2c0d2f9..3743c9e 100644
--- a/opensearchapi/api_tasks_test.go
+++ b/opensearchapi/api_tasks_test.go
@@ -18,9 +18,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 func TestTasksClient(t *testing.T) {
diff --git a/opensearchapi/api_template_test.go b/opensearchapi/api_template_test.go
index be05119..68d3d13 100644
--- a/opensearchapi/api_template_test.go
+++ b/opensearchapi/api_template_test.go
@@ -15,8 +15,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestTemplateClient(t *testing.T) {
diff --git a/opensearchapi/api_termvectors_test.go b/opensearchapi/api_termvectors_test.go
index 6b5b2b2..abc0141 100644
--- a/opensearchapi/api_termvectors_test.go
+++ b/opensearchapi/api_termvectors_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestTermvectors(t *testing.T) {
diff --git a/opensearchapi/api_update_by_query_rethrottle_test.go b/opensearchapi/api_update_by_query_rethrottle_test.go
index 36842cf..71e9ce2 100644
--- a/opensearchapi/api_update_by_query_rethrottle_test.go
+++ b/opensearchapi/api_update_by_query_rethrottle_test.go
@@ -17,9 +17,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 func TestUpdateByQueryRethrottle(t *testing.T) {
diff --git a/opensearchapi/api_update_by_query_test.go b/opensearchapi/api_update_by_query_test.go
index 20a5c93..494a7fc 100644
--- a/opensearchapi/api_update_by_query_test.go
+++ b/opensearchapi/api_update_by_query_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestUpdateByQuery(t *testing.T) {
diff --git a/opensearchapi/api_update_test.go b/opensearchapi/api_update_test.go
index 6ac02dc..e0fe01b 100644
--- a/opensearchapi/api_update_test.go
+++ b/opensearchapi/api_update_test.go
@@ -16,8 +16,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	osapitest "github.com/opensearch-project/opensearch-go/v2/opensearchapi/internal/test"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	osapitest "github.com/opensearch-project/opensearch-go/v3/opensearchapi/internal/test"
 )
 
 func TestUpdate(t *testing.T) {
diff --git a/opensearchapi/error_test.go b/opensearchapi/error_test.go
index d67dc2e..3822524 100644
--- a/opensearchapi/error_test.go
+++ b/opensearchapi/error_test.go
@@ -21,7 +21,7 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 func TestError(t *testing.T) {
diff --git a/opensearchapi/internal/test/helper.go b/opensearchapi/internal/test/helper.go
index 22adee7..33c60bb 100644
--- a/opensearchapi/internal/test/helper.go
+++ b/opensearchapi/internal/test/helper.go
@@ -21,8 +21,8 @@ import (
 	"github.com/stretchr/testify/require"
 	"github.com/wI2L/jsondiff"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
 )
 
 // Response is a dummy interface to run tests with Inspect()
diff --git a/opensearchtransport/logger_benchmark_test.go b/opensearchtransport/logger_benchmark_test.go
index 6e176a1..c45eff4 100644
--- a/opensearchtransport/logger_benchmark_test.go
+++ b/opensearchtransport/logger_benchmark_test.go
@@ -35,7 +35,7 @@ import (
 	"net/url"
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
 )
 
 func BenchmarkTransportLogger(b *testing.B) {
diff --git a/opensearchtransport/opensearchtransport_benchmark_test.go b/opensearchtransport/opensearchtransport_benchmark_test.go
index 977b3e5..988d3ec 100644
--- a/opensearchtransport/opensearchtransport_benchmark_test.go
+++ b/opensearchtransport/opensearchtransport_benchmark_test.go
@@ -36,7 +36,7 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
 )
 
 type FakeTransport struct {
diff --git a/opensearchtransport/opensearchtransport_integration_multinode_test.go b/opensearchtransport/opensearchtransport_integration_multinode_test.go
index 3173edc..cc159f5 100644
--- a/opensearchtransport/opensearchtransport_integration_multinode_test.go
+++ b/opensearchtransport/opensearchtransport_integration_multinode_test.go
@@ -35,7 +35,7 @@ import (
 	"net/url"
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
 )
 
 var (
diff --git a/opensearchtransport/opensearchtransport_integration_test.go b/opensearchtransport/opensearchtransport_integration_test.go
index 614c71e..a62dda3 100644
--- a/opensearchtransport/opensearchtransport_integration_test.go
+++ b/opensearchtransport/opensearchtransport_integration_test.go
@@ -39,8 +39,8 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 var (
diff --git a/opensearchutil/bulk_indexer_benchmark_test.go b/opensearchutil/bulk_indexer_benchmark_test.go
index 28ea588..a83a0eb 100644
--- a/opensearchutil/bulk_indexer_benchmark_test.go
+++ b/opensearchutil/bulk_indexer_benchmark_test.go
@@ -37,9 +37,9 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 var mockResponseBody = `{
diff --git a/opensearchutil/bulk_indexer_example_test.go b/opensearchutil/bulk_indexer_example_test.go
index a77e172..a4a47dc 100644
--- a/opensearchutil/bulk_indexer_example_test.go
+++ b/opensearchutil/bulk_indexer_example_test.go
@@ -35,9 +35,9 @@ import (
 	"strings"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 func ExampleNewBulkIndexer() {
diff --git a/opensearchutil/bulk_indexer_integration_test.go b/opensearchutil/bulk_indexer_integration_test.go
index 9e3e8ed..31f9c28 100644
--- a/opensearchutil/bulk_indexer_integration_test.go
+++ b/opensearchutil/bulk_indexer_integration_test.go
@@ -37,10 +37,10 @@ import (
 	"testing"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 func TestBulkIndexerIntegration(t *testing.T) {
diff --git a/opensearchutil/bulk_indexer_internal_test.go b/opensearchutil/bulk_indexer_internal_test.go
index 1707e14..1bd1846 100644
--- a/opensearchutil/bulk_indexer_internal_test.go
+++ b/opensearchutil/bulk_indexer_internal_test.go
@@ -44,9 +44,9 @@ import (
 	"testing"
 	"time"
 
-	"github.com/opensearch-project/opensearch-go/v2"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchtransport"
+	"github.com/opensearch-project/opensearch-go/v3"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchtransport"
 )
 
 var infoBody = `{
diff --git a/opensearchutil/json_reader_benchmark_test.go b/opensearchutil/json_reader_benchmark_test.go
index d3a00f0..3cf1c3c 100644
--- a/opensearchutil/json_reader_benchmark_test.go
+++ b/opensearchutil/json_reader_benchmark_test.go
@@ -36,7 +36,7 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 var _ = fmt.Print
diff --git a/opensearchutil/json_reader_integration_test.go b/opensearchutil/json_reader_integration_test.go
index 9e1c67e..ea0db65 100644
--- a/opensearchutil/json_reader_integration_test.go
+++ b/opensearchutil/json_reader_integration_test.go
@@ -36,8 +36,8 @@ import (
 
 	"golang.org/x/exp/slices"
 
-	"github.com/opensearch-project/opensearch-go/v2/opensearchapi"
-	"github.com/opensearch-project/opensearch-go/v2/opensearchutil"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchapi"
+	"github.com/opensearch-project/opensearch-go/v3/opensearchutil"
 )
 
 func TestJSONReaderIntegration(t *testing.T) {
diff --git a/response_test.go b/response_test.go
index 0e5e819..9fdfc6e 100644
--- a/response_test.go
+++ b/response_test.go
@@ -31,7 +31,7 @@ import (
 
 	"github.com/stretchr/testify/assert"
 
-	"github.com/opensearch-project/opensearch-go/v2"
+	"github.com/opensearch-project/opensearch-go/v3"
 )
 
 func TestResponse(t *testing.T) {
diff --git a/signer/aws/aws_test.go b/signer/aws/aws_test.go
index 564ac01..fd493f5 100644
--- a/signer/aws/aws_test.go
+++ b/signer/aws/aws_test.go
@@ -21,7 +21,7 @@ import (
 	"github.com/aws/aws-sdk-go/aws/session"
 	"github.com/stretchr/testify/assert"
 
-	osaws "github.com/opensearch-project/opensearch-go/v2/signer/aws"
+	osaws "github.com/opensearch-project/opensearch-go/v3/signer/aws"
 )
 
 func TestConstants(t *testing.T) {
diff --git a/signer/awsv2/sdkv2signer_test.go b/signer/awsv2/sdkv2signer_test.go
index 117add5..c181ccb 100644
--- a/signer/awsv2/sdkv2signer_test.go
+++ b/signer/awsv2/sdkv2signer_test.go
@@ -20,7 +20,7 @@ import (
 	"github.com/aws/aws-sdk-go-v2/config"
 	"github.com/stretchr/testify/assert"
 
-	"github.com/opensearch-project/opensearch-go/v2/signer/awsv2"
+	"github.com/opensearch-project/opensearch-go/v3/signer/awsv2"
 )
 
 func getCredentialProvider() aws.CredentialsProviderFunc {