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

Slash missed in indices.put_mapping url #49468

Merged

Conversation

ezimuel
Copy link
Contributor

@ezimuel ezimuel commented Nov 21, 2019

The REST API specification of indices.put_mapping is missing the first slash in the url.
This is causing a failure in the code generation of elasticsearch-php (see elastic/elasticsearch-php#970) and potentially for other clients.

This fix should be backported also in 7.x branches.

cc @elastic/es-clients

@ezimuel ezimuel requested a review from karmi November 21, 2019 23:03
Copy link
Contributor

@karmi karmi left a comment

Choose a reason for hiding this comment

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

Thanks!

@jimczi jimczi added :Core/Infra/REST API REST infrastructure and utilities >bug labels Nov 22, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/REST API)

@ezimuel ezimuel merged commit eeda29a into elastic:master Nov 22, 2019
@ezimuel
Copy link
Contributor Author

ezimuel commented Nov 22, 2019

I merged also in 7.x branch. Thanks @karmi.

@colings86
Copy link
Contributor

@ezimuel please try to remember to add version labels to PRs so they are included properly int he release notes. I've added the version labels I think are relevant here but please correct them if they are wrong. Thanks

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

Successfully merging this pull request may close these issues.

6 participants