Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Fix JacksonResourceSchemaProvider to work with both the older and newer jackson versions. #207

Open
wants to merge 2 commits into
base: 2.0
Choose a base branch
from

Conversation

gauravkghildiyal
Copy link

getGenericType() method has been deprecated and removed in the newer jackson2 version. This fix allows things to work with the newer jackson2 version as well.

@cmaan
Copy link

cmaan commented Jan 4, 2022

We hit this today when upgrading jackson, this MR fixed the problem

@peterfortuin
Copy link

I have this problem as well. @cmaan can you tell me how you have tested or integrated this pull request change into your project?

@cmaan
Copy link

cmaan commented May 13, 2022

@peterfortuin Hey! We've been using jitpack to build a custom version on top of 2.2.2 which integrates this MR (as well as #192, which you can probably ignore) and use that as dependency. See:

ATM, until this is merged, we're depending on these artefacts:

com.github.cmaan.endpoints-java:endpoints-framework:v2.2.2-fix-jackson
com.github.cmaan.endpoints-java:endpoints-framework-guice:v2.2.2-fix-jackson

@william-ferguson-au
Copy link

Are there any committers for this project that can merge this PR in and release a new version or are we on our own?

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

Successfully merging this pull request may close these issues.

None yet

4 participants