You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs still specify the old type expected, 'true' | 'false' | 'wait_for', where the typing was changed in #1263 to be boolean | 'wait_for'. The docs should be updated to match.
This happens for all of the API endpoints that expect this parameter.
The typing to match what the latest client expects
I would try to make the fix myself, but it seems like the docs have a fairly complex generation process, and this seems like it would be a small change for someone familiar with the project.
The text was updated successfully, but these errors were encountered:
I found the docs folder and looked into it and haven't found this and even didn't found in the reference doc link mentioned above. Can someone confirm whether this is resolved?
I've slowly been tweaking the generated docs over the last couple months to include more and better information about each API function. The bulk API now documents the possible values for refresh accurately.
🐛 Bug Report
The docs still specify the old type expected,
'true' | 'false' | 'wait_for'
, where the typing was changed in #1263 to beboolean | 'wait_for'
. The docs should be updated to match.This happens for all of the API endpoints that expect this parameter.
To Reproduce
Observe the current API docs at https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html
Expected behavior
The typing to match what the latest client expects
I would try to make the fix myself, but it seems like the docs have a fairly complex generation process, and this seems like it would be a small change for someone familiar with the project.
The text was updated successfully, but these errors were encountered: