elastic / elasticsearch-rs

Official Elasticsearch Rust Client
https://www.elastic.co/guide/en/elasticsearch/client/rust-api/current/index.html
Apache License 2.0
705 stars 72 forks source link

[ENHANCEMENT] Update api_generator to v7.4.0+ REST API spec structure #11

Closed russcam closed 4 years ago

russcam commented 4 years ago

The api_generator crate has been written against the v7.3.1 REST API spec structure. This structure has changed in v7.4.0+ to group URL parts with paths, and to move deprecated paths into their own section. The api_generator crate should be updated to reflect these changes.

russcam commented 4 years ago

Makes sense to tackle this before #8, because the refactoring of reading the new JSON structure may better lend itself to generating enums, since the URL parts are grouped with the URL in the new structure.