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

Update client to v7.5.0 REST API specs #29

Closed russcam closed 4 years ago

russcam commented 4 years ago

This commit updates the REST API specs to v7.5.0 and runs the api_generator.

Update Cargo.toml to 7.5.0-alpha.1 Documentation is defined as both a string and a JSON object across REST specs, so handle deserialization from both forms.

The data_frame. APIs have been renamed to transform., and the REST specs include the deprecated old APIs, renamed including _deprcated. Ignore these when generating the client.

Delete existing generated files before running the generation process. The source files from which a previously generated file was generated may now be deleted/ignored, so delete the generated files too.