Skip to content

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