Skip to content

Commit df22c0f

Browse files
authored
AnnotationsUtils.resolveSchemaFromType does not accept ParameterizedType. Fixes #458
1 parent f8fef19 commit df22c0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: springdoc-openapi-common/src/main/java/org/springdoc/core/SpringDocAnnotationsUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import org.apache.commons.lang3.StringUtils;
3939

4040
@SuppressWarnings({ "rawtypes" })
41-
class SpringDocAnnotationsUtils extends AnnotationsUtils {
41+
public class SpringDocAnnotationsUtils extends AnnotationsUtils {
4242

4343
public static Schema resolveSchemaFromType(Class<?> schemaImplementation, Components components,
4444
JsonView jsonView) {
@@ -160,4 +160,4 @@ private static MediaType getMediaType(Schema schema, Components components, Json
160160
return mediaType;
161161
}
162162

163-
}
163+
}

0 commit comments

Comments
 (0)