validation query docs with joi 4.7.x

Hello
Joi `4.7.0` to create a joi schema with `Joi.object().keys`

with 
````
validate: {
    query: {
        path: Joi.string()
    },
},
````
i have a error

````
{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "path must be a string",
  "validation": {
    "source": "query",
    "keys": [
      "path"
    ]
  }
}
````