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 683151d482407..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/docs/api/doc/elasticsearch/v8", + "url": null, "description": "Validate an anomaly detection job" }, "stability": "stable", diff --git a/rest-api-spec/src/main/resources/schema.json b/rest-api-spec/src/main/resources/schema.json index 19cde469c3311..5ca63720d5401 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" } } },