diff --git a/util/GenerateEndpoints.php b/util/GenerateEndpoints.php index 45d6ee90..57dcb6ae 100644 --- a/util/GenerateEndpoints.php +++ b/util/GenerateEndpoints.php @@ -37,7 +37,7 @@ $success = true; // Load the OpenAPI specification file -$url = "https://github.com/opensearch-project/opensearch-api-specification/releases/download/main/opensearch-openapi.yaml"; +$url = "https://github.com/opensearch-project/opensearch-api-specification/releases/download/main-latest/opensearch-openapi.yaml"; $yamlContent = file_get_contents($url); $data = Yaml::parse($yamlContent);