Skip to content

Commit d47f438

Browse files
committed
code review
1 parent 9e31a2c commit d47f438

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

springdoc-openapi-starter-common/src/main/java/org/springdoc/core/converters/ResponseSupportConverter.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ else if (isResponseTypeToIgnore(cls))
8080
return (chain.hasNext()) ? chain.next().resolve(type, context, chain) : null;
8181
}
8282

83+
/**
84+
* Find response entity java type.
85+
*
86+
* @param javaType the java type
87+
* @return the java type
88+
*/
8389
private JavaType findResponseEntity(JavaType javaType){
8490
if(ResponseEntity.class.isAssignableFrom(javaType.getRawClass())){
8591
while (ResponseEntity.class != javaType.getRawClass())

0 commit comments

Comments
 (0)