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

Fix deserialization for PutSynonymResponse #2578

Closed
wants to merge 2 commits into from

Conversation

pquentin
Copy link
Member

Initially opened by @GeorgeCiachir in #2577, but pull requests have to opened from branches.

The ReloadResult should be a member of the PutResponseSynonym, instead of the ReloadDetails, so that the PutResponseSynonym is properly serialized.
Current behavior is that it throws a MissingRequiredPropertyException

This PR fixes elastic/elasticsearch-java#784

Copy link
Contributor

Following you can find the validation results for the API you have changed.

API Status Request Response
synonyms.put_synonym 🔴 19/20 19/20

You can validate this API yourself by using the make validate target.

@pquentin pquentin changed the title Fix deserialization for putsynonymresponse Fix deserialization for PutSynonymResponse May 27, 2024
@l-trotta l-trotta self-assigned this May 28, 2024
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.

PutSynonymResponse: Failed to decode response
3 participants