Elastic provides a collection of JSON files that describe the Elasticsearch HTTP API that are explicitly meant to “facilitate development of libraries and integrations”. It seems worth investigating the possibility of using those specs in Elastisch, whether for code generation (à la Carmine, which uses the official Redis command reference to generate its own command API) or something else.