Creating a dynamic swagger for an Elasticsearch API

I want to create a dynamic swagger of an elasticsearch API since the response returned by Api is unexpected because it contains facets and I would like to know if there is way to generate the swagger automatically through elasticsearch.

No it does not exist. See