Open
Description
Since the API is generated, I doubt this would be too big of a lift. Basically what I'm suggesting is adding comments on the fields of the structs themselves.
So instead of this:
Adding the comments inline, such as:
// Indices contains the Indices APIs
type Indices struct {
AddBlock IndicesAddBlock
Analyze IndicesAnalyze
ClearCache IndicesClearCache
Clone IndicesClone
Close IndicesClose
CreateDataStream IndicesCreateDataStream
// Creates an index with optional settings and mappings.
//
// See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html.
//
Create IndicesCreate
Thank you for the package, by the way.