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

Fixed required fields and paths list #39358

Merged
merged 1 commit into from Feb 26, 2019
Merged

Conversation

delvedor
Copy link
Member

@delvedor delvedor commented Feb 25, 2019

Hello!
Some small fix for the x-pack rest api spec.

  • In both security.enable_user.json and security.disable_user.json the username parameter was false instead of true (the documentation is already correct).
  • In security.get_privileges.json there were missing all the possible paths since the path parameters are not required. This fix aligns the document with the rest of the spec, where all the possible combinations are listed.

cc @elastic/es-clients

@javanna javanna added the :Security/Client Security in clients (Transport, Rest) label Feb 25, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@bizybot
Copy link
Contributor

bizybot commented Feb 25, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

Copy link
Contributor

@bizybot bizybot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thank you.

@jaymode
Copy link
Member

jaymode commented Feb 26, 2019

@delvedor do you feel comfortable merging and backporting? If not, @bizybot can you please take care of this?

@bizybot bizybot merged commit 1695da9 into elastic:master Feb 26, 2019
bizybot pushed a commit to bizybot/elasticsearch that referenced this pull request Feb 27, 2019
Some small fix for the `x-pack` rest api spec.

* In both `security.enable_user.json` and `security.disable_user.json` the `username` parameter was `false` instead of `true` (the documentation is already correct).
* In `security.get_privileges.json` there were missing all the possible paths since the path parameters are not required. This fix aligns the document with the rest of the spec, where all the possible combinations are listed.
bizybot pushed a commit to bizybot/elasticsearch that referenced this pull request Feb 27, 2019
Some small fix for the `x-pack` rest api spec.

* In both `security.enable_user.json` and `security.disable_user.json` the `username` parameter was `false` instead of `true` (the documentation is already correct).
* In `security.get_privileges.json` there were missing all the possible paths since the path parameters are not required. This fix aligns the document with the rest of the spec, where all the possible combinations are listed.
bizybot pushed a commit to bizybot/elasticsearch that referenced this pull request Feb 27, 2019
Some small fix for the `x-pack` rest api spec.

* In both `security.enable_user.json` and `security.disable_user.json`
  the `username` parameter was `false` instead of `true`
  (the documentation is already correct).
* In `security.get_privileges.json` there were missing all the
  possible paths since the path parameters are not required.
  This fix aligns the document with the rest of the spec,
  where all the possible combinations are listed.
bizybot added a commit that referenced this pull request Feb 27, 2019
Some small fix for the `x-pack` rest api spec.

* In both `security.enable_user.json` and `security.disable_user.json`
   the `username` parameter was `false` instead of `true`
   (the documentation is already correct).
* In `security.get_privileges.json` there were missing all the
   possible paths since the path parameters are not required.
   This fix aligns the document with the rest of the spec,
   where all the possible combinations are listed.
bizybot added a commit that referenced this pull request Feb 27, 2019
Some small fix for the `x-pack` rest api spec.

* In both `security.enable_user.json` and `security.disable_user.json`
   the `username` parameter was `false` instead of `true`
  (the documentation is already correct).
* In `security.get_privileges.json` there were missing all the
   possible paths since the path parameters are not required.
   This fix aligns the document with the rest of the spec,
   where all the possible combinations are listed.
bizybot added a commit that referenced this pull request Feb 27, 2019
Some small fix for the `x-pack` rest api spec.

* In both `security.enable_user.json` and `security.disable_user.json`
  the `username` parameter was `false` instead of `true`
  (the documentation is already correct).
* In `security.get_privileges.json` there were missing all the
  possible paths since the path parameters are not required.
  This fix aligns the document with the rest of the spec,
  where all the possible combinations are listed.
@delvedor
Copy link
Member Author

@jaymode sorry for the delay, it was evening for me. Next time! :)

@delvedor delvedor deleted the fix-rest-paths branch February 27, 2019 07:26
@jaymode
Copy link
Member

jaymode commented Feb 27, 2019

@delvedor no need to apologize, I just wanted to make sure someone planned to merge and backport this. @bizybot thank you for taking care of it.

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

Successfully merging this pull request may close these issues.

None yet

7 participants