diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index ba443ee3fb..54c1500aba 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -149829,7 +149829,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 6e3e55905d..0599ed55a2 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -91293,7 +91293,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 30e8b2acda..27999d5fc5 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -247505,7 +247505,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", @@ -247618,7 +247618,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 */