From a740a0bca5fa329393840de70f0a0237fb0f0749 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 4 Nov 2025 14:03:38 +0400 Subject: [PATCH] rest-api-spec: fix documentation URLs --- .../src/main/resources/rest-api-spec/api/esql.get_query.json | 2 +- .../main/resources/rest-api-spec/api/esql.list_queries.json | 2 +- .../resources/rest-api-spec/api/ml.validate_detector.json | 2 +- .../src/main/resources/rest-api-spec/api/project.tags.json | 4 ++-- rest-api-spec/src/main/resources/schema.json | 3 +++ 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/esql.get_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/esql.get_query.json index 817e07828bed5..be23093c27a9a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/esql.get_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/esql.get_query.json @@ -1,7 +1,7 @@ { "esql.get_query": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-get-query", "description": "Get a specific running ES|QL query information" }, "stability": "experimental", diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/esql.list_queries.json b/rest-api-spec/src/main/resources/rest-api-spec/api/esql.list_queries.json index d219feadff04a..ba3fb4536665c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/esql.list_queries.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/esql.list_queries.json @@ -1,7 +1,7 @@ { "esql.list_queries": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-esql-list-queries", "description": "Get running ES|QL queries information" }, "stability": "experimental", diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate_detector.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate_detector.json index a5979b7978e13..41534f790341b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate_detector.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate_detector.json @@ -1,7 +1,7 @@ { "ml.validate_detector": { "documentation": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html", + "url": null, "description": "Validate an anomaly detection job" }, "stability": "stable", diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/project.tags.json b/rest-api-spec/src/main/resources/rest-api-spec/api/project.tags.json index f3c4521e6e5e2..89ac53b88d249 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/project.tags.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/project.tags.json @@ -1,10 +1,10 @@ { "project.tags": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch-serverless/operation/operation-project-tags", "description": "Return tags defined for the project" }, - "stability": "experimental", + "stability": "stable", "visibility": "public", "headers": { "accept": [ diff --git a/rest-api-spec/src/main/resources/schema.json b/rest-api-spec/src/main/resources/schema.json index 569f64931281c..1aa0890cc87b2 100644 --- a/rest-api-spec/src/main/resources/schema.json +++ b/rest-api-spec/src/main/resources/schema.json @@ -60,6 +60,9 @@ "properties": { "stability": { "const": "stable" + }, + "visibility": { + "const": "public" } } },