acceptedParams does not differentiate between query or body params
Category: Bug
### 🐛 Bug report
https://github.com/elastic/elasticsearch-js/issues/2902 added an `acceptedParams` API primarily to expose to Kibana whether `project_routing` is a supported parameter on a given API call. However, some APIs accept this as a query param while other require a body. To correctly inject project_routing Kibana needs to know if this is supported as a body/query param.
### To reproduce
...
### Expected behavior
...
### Node.js version
n/a
### @elastic/elasticsearch version
n/a
### Operating system
n/a
### Any other relevant environment information
_No response_
0 条评论