-
Notifications
You must be signed in to change notification settings - Fork 117
Description
Hello,
I have a project which we are exploring the compatility with Spring Boot 4.
I encounter an issue with plugin, here is the stacktrace:
java.lang.ClassCastException: class org.springframework.http.ReadOnlyHttpHeaders cannot be cast to class java.util.Map (org.springframework.http.ReadOnlyHttpHeaders is in unnamed module of loader 'app'; java.util.Map is in module java.base of loader 'bootstrap') at com.epages.restdocs.apispec.BasicSecurityHandler.isBasicSecurity(SecurityRequirementsHandler.kt:31) at com.epages.restdocs.apispec.BasicSecurityHandler.extractSecurityRequirements(SecurityRequirementsHandler.kt:25) at com.epages.restdocs.apispec.SecurityRequirementsHandler.extractSecurityRequirements(SecurityRequirementsHandler.kt:14) at com.epages.restdocs.apispec.ResourceSnippet.createModel(ResourceSnippet.kt:52) at com.epages.restdocs.apispec.ResourceSnippet.document(ResourceSnippet.kt:34) at org.springframework.restdocs.generate.RestDocumentationGenerator.handle(RestDocumentationGenerator.java:191) at org.springframework.restdocs.mockmvc.RestDocumentationResultHandler.handle(RestDocumentationResultHandler.java:52) at org.springframework.test.web.servlet.MockMvc$1.andDo(MockMvc.java:217)
Do you want a contribution ?