How rest-api-spec is being generated?


(Eugene Pirogov) #1

In this PR – https://github.com/elastic/elasticsearch/pull/14247/files I see the rest-api-spec JSON files being added. Are they written manually or automatically? I am very suspicious they are generated automatically. Could someone point me to the code that gets them generated?


(Nik Everett) #2

They often receive a fair bit of copy and paste but they are written by
hand. They exist so elasticsearch can share tests with its clients.


(Eugene Pirogov) #3

Thank you Nik.


(system) #4