diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 3db48057cc..61ece73ceb 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -149981,7 +149981,7 @@ "type": "number" }, "sort": { - "description": "The sort definition.\nYou can sort on `username`, `roles`, or `enabled`.\nIn addition, sort can also be applied to the `_doc` field to sort by index order.", + "description": "The sort definition.\nYou can sort on `name`, `description`, `metadata`, `applications.application`, `applications.privileges`, \nand `applications.resources`.\nIn addition, sort can also be applied to the `_doc` field to sort by index order.", "allOf": [ { "$ref": "#/components/schemas/_types.Sort" diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 4f8342fe1c..8843ab2daa 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -91347,7 +91347,7 @@ "type": "number" }, "sort": { - "description": "The sort definition.\nYou can sort on `username`, `roles`, or `enabled`.\nIn addition, sort can also be applied to the `_doc` field to sort by index order.", + "description": "The sort definition.\nYou can sort on `name`, `description`, `metadata`, `applications.application`, `applications.privileges`, \nand `applications.resources`.\nIn addition, sort can also be applied to the `_doc` field to sort by index order.", "allOf": [ { "$ref": "#/components/schemas/_types.Sort" diff --git a/output/schema/schema.json b/output/schema/schema.json index d7022daf21..1a9e36007b 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -247489,7 +247489,7 @@ } }, { - "description": "The sort definition.\nYou can sort on `username`, `roles`, or `enabled`.\nIn addition, sort can also be applied to the `_doc` field to sort by index order.", + "description": "The sort definition.\nYou can sort on `name`, `description`, `metadata`, `applications.application`, `applications.privileges`, \nand `applications.resources`.\nIn addition, sort can also be applied to the `_doc` field to sort by index order.", "docId": "sort-search-results", "docUrl": "https://www.elastic.co/docs/reference/elasticsearch/rest-apis/sort-search-results", "name": "sort", @@ -247602,7 +247602,7 @@ }, "path": [], "query": [], - "specLocation": "security/query_role/QueryRolesRequest.ts#L25-L85" + "specLocation": "security/query_role/QueryRolesRequest.ts#L25-L86" }, { "kind": "response", diff --git a/specification/security/query_role/QueryRolesRequest.ts b/specification/security/query_role/QueryRolesRequest.ts index 660433cd17..23550b23a3 100644 --- a/specification/security/query_role/QueryRolesRequest.ts +++ b/specification/security/query_role/QueryRolesRequest.ts @@ -63,7 +63,8 @@ export interface Request extends RequestBase { from?: integer /** * The sort definition. - * You can sort on `username`, `roles`, or `enabled`. + * You can sort on `name`, `description`, `metadata`, `applications.application`, `applications.privileges`, + * and `applications.resources`. * In addition, sort can also be applied to the `_doc` field to sort by index order. * @doc_id sort-search-results */