Skip to content

Commit e6be796

Browse files
committed
fix build
1 parent 65de3c1 commit e6be796

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/GenericResponseService.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
import io.swagger.v3.oas.models.media.Schema;
5959
import io.swagger.v3.oas.models.responses.ApiResponse;
6060
import io.swagger.v3.oas.models.responses.ApiResponses;
61-
import kotlin.reflect.jvm.internal.impl.load.kotlin.JvmType.Object;
6261
import org.apache.commons.lang3.ArrayUtils;
6362
import org.apache.commons.lang3.StringUtils;
6463
import org.springdoc.core.models.ControllerAdviceInfo;
@@ -96,6 +95,7 @@
9695
import static org.springdoc.core.utils.SpringDocAnnotationsUtils.extractSchema;
9796
import static org.springdoc.core.utils.SpringDocAnnotationsUtils.getContent;
9897
import static org.springdoc.core.utils.SpringDocAnnotationsUtils.mergeSchema;
98+
import static org.springdoc.core.utils.SpringDocUtils.cloneViaJson;
9999
import static org.springdoc.core.utils.SpringDocUtils.getParameterAnnotations;
100100

101101
/**
@@ -110,7 +110,7 @@ public class GenericResponseService implements ApplicationContextAware {
110110
* the exception classes.
111111
*/
112112
private static final String EXTENSION_EXCEPTION_CLASSES = "x-exception-class";
113-
113+
114114
/**
115115
* The Response entity exception handler class.
116116
*/
@@ -643,7 +643,7 @@ else if (CollectionUtils.isEmpty(apiResponse.getContent()))
643643
*/
644644
private boolean shouldCalculateContent(MethodAttributes methodAttributes, boolean isGeneric, String httpCode) {
645645
return useReturnTypeSchema(methodAttributes, httpCode) ||
646-
((isGeneric || methodAttributes.isMethodOverloaded()) && methodAttributes.isNoApiResponseDoc());
646+
((isGeneric || methodAttributes.isMethodOverloaded()) && methodAttributes.isNoApiResponseDoc());
647647
}
648648

649649
/**
@@ -854,4 +854,4 @@ private boolean isGlobalException(Class<?> exceptionClass) {
854854
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
855855
controllerAdviceBeans = ControllerAdviceBean.findAnnotatedBeans(applicationContext);
856856
}
857-
}
857+
}

0 commit comments

Comments
 (0)