Skip to content

fix: Fix RestApiResponse deserialization #58

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

Closed
wants to merge 1 commit into from

Conversation

ruslan-malona
Copy link
Contributor

JIRA Ticket

Subject Text

I tried to use RestApiResponse class as a response type for method in our SDK and faced an issue with deserialization:

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.smartling.api.v2.response.RestApiResponse` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)

I'm adding a default constructor here and a setter to fix deserialization of this class

@ruslan-malona
Copy link
Contributor Author

for some reason circle ci didn't run pipeline for this branch, creating new one: #60

@ruslan-malona ruslan-malona deleted the fix_restapiresponse_deser branch June 22, 2021 14:55
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.

4 participants