diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 5f04a1f90e..4137ee815f 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -80141,7 +80141,14 @@ "type": "number" }, "rule_criteria_types_counts": { - "description": "A map of criteria type to the number of rules of that type", + "description": "A map of criteria type (e.g. exact) to the number of rules of that type", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "rule_type_counts": { + "description": "A map of rule type (e.g. pinned) to the number of rules of that type", "type": "object", "additionalProperties": { "type": "number" @@ -80151,7 +80158,8 @@ "required": [ "ruleset_id", "rule_total_count", - "rule_criteria_types_counts" + "rule_criteria_types_counts", + "rule_type_counts" ] }, "query_rules.test:QueryRulesetMatchedRule": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 184ad6c3d3..c81e5061fa 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -52808,7 +52808,14 @@ "type": "number" }, "rule_criteria_types_counts": { - "description": "A map of criteria type to the number of rules of that type", + "description": "A map of criteria type (e.g. exact) to the number of rules of that type", + "type": "object", + "additionalProperties": { + "type": "number" + } + }, + "rule_type_counts": { + "description": "A map of rule type (e.g. pinned) to the number of rules of that type", "type": "object", "additionalProperties": { "type": "number" @@ -52818,7 +52825,8 @@ "required": [ "ruleset_id", "rule_total_count", - "rule_criteria_types_counts" + "rule_criteria_types_counts", + "rule_type_counts" ] }, "query_rules.test:QueryRulesetMatchedRule": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 9cef72db74..a74bca737c 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -137714,7 +137714,7 @@ } }, { - "description": "A map of criteria type to the number of rules of that type", + "description": "A map of criteria type (e.g. exact) to the number of rules of that type", "name": "rule_criteria_types_counts", "required": true, "type": { @@ -137735,9 +137735,32 @@ } } } + }, + { + "description": "A map of rule type (e.g. pinned) to the number of rules of that type", + "name": "rule_type_counts", + "required": true, + "type": { + "key": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + }, + "kind": "dictionary_of", + "singleKey": false, + "value": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + } } ], - "specLocation": "query_rules/list_rulesets/types.ts#L23-L37" + "specLocation": "query_rules/list_rulesets/types.ts#L23-L42" }, { "kind": "interface",