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
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private TypeToken<?> getPropertyType(TypeToken<?> beanType, Method readMethod, M
}
} else if (field != null) {
return ApiAnnotationIntrospector.getSchemaType(
beanType.resolveType(field.getGenericType()), config);
beanType.resolveType(field.getAnnotated().getGenericType()), config);
}
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=2.0.16
version=2.0.17

sourceCompatibility=1.7
targetCompatibility=1.7
Expand Down