Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update code generation #969

Merged
merged 4 commits into from
Sep 16, 2019
Merged

Update code generation #969

merged 4 commits into from
Sep 16, 2019

Conversation

delvedor
Copy link
Member

This pr updates the code generation scripts to use the new spec format introduced in elastic/elasticsearch#42346.

Closes: #944
Fixes: #931

Notable changes:

  • The generated code does not contain the full parameter list, but only a brief description of the API and the URL of the documentation.
  • The reference.asciidoc now signals deprecated parameter and unstable APIs.
  • The generated code has more flexible handling of the HTTP method.

This needs to be backported to 7.x.

@delvedor delvedor merged commit 6924749 into master Sep 16, 2019
@delvedor delvedor deleted the update-code-generation branch September 16, 2019 14:55
delvedor added a commit that referenced this pull request Sep 23, 2019
* Updated code generation scripts to use the new spec

* API generation

* Fix bad link
delvedor added a commit that referenced this pull request Oct 2, 2019
* Update code generation (#969)

* Updated code generation scripts to use the new spec

* API generation

* Fix bad link

* Updated API reference doc (#945)

* Updated API reference doc

* Updated docs script

* Fix issue; node roles are defaulting to true when undefined (fal… (#967)

* Fix issue; nodeFilter was unable to filter because master, data, and ingest role were true if even they were false on the node.

* Test nodesToHost of BaseConnectionPool correctly maps node roles

* API generation

* Docker: use 7.4-SNAPSHOT

* API generation

* Use 7.4 stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updated the code generation script to use the new spec format Fix documentation generator
1 participant