Skip to content

Add field warning to SearchResponse #4

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add field warning to SearchResponse #4

wants to merge 3 commits into from

Conversation

vsmid
Copy link

@vsmid vsmid commented Sep 30, 2021

Deserialization of SearchResponse fails with:

Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "warning" (class com.manticoresearch.client.model.SearchResponse), not marked as ignorable (4 known properties: "hits", "profile", "timed_out", "took"])

without warning field in SearchResponse.

This PR adds the missing field(property).

@sanikolaev
Copy link
Collaborator

Related discussion on Manticore's forum https://forum.manticoresearch.com/t/manticore-client-manticoresearch-java/910/2

@sanikolaev
Copy link
Collaborator

@vsmid

Since we use openapi clients generator to generate this client please make a PR to it, not to the client directly.

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.

2 participants