[DOCS] Reformats validate API (#46389)
[DOCS] Reformats validate API (#46389)

* [DOCS] Reformats validate API.
Co-Authored-By: James Rodewig <1808b47fd52c0582c136bfc1e6304b3e5fc3a95c@elastic.co>
scorpionvicky/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,GlenRSmith/elasticsearch,coding0011/elasticsearch,scorpionvicky/elasticsearch,scorpionvicky/elasticsearch,HonzaKral/elasticsearch,robin13/elasticsearch,coding0011/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,nknize/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,gingerwizard/elasticsearch,uschindler/elasticsearch,uschindler/elasticsearch,nknize/elasticsearch,GlenRSmith/elasticsearch,scorpionvicky/elasticsearch,uschindler/elasticsearch,coding0011/elasticsearch,gingerwizard/elasticsearch,HonzaKral/elasticsearch,scorpionvicky/elasticsearch,gingerwizard/elasticsearch,gingerwizard/elasticsearch,robin13/elasticsearch,uschindler/elasticsearch,coding0011/elasticsearch,GlenRSmith/elasticsearch,robin13/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,HonzaKral/elasticsearch,robin13/elasticsearch,coding0011/elasticsearch,HonzaKral/elasticsearch