Spring endpoints not discovered, RequestMappingInfo.patternsCondition
returns null
#113
Labels
Bug
Something isn't working
Setup information
hikaku version: 3.3.0
specification converter: OpenAPI
implementation converter: Spring
build tool and version: Gradle 7.4.2
test framework: JUnit 5.8
Spring Boot 2.6.6, Spring WebMVC: 5.3.18
Describe the bug
I've copied the test from the README, but I get this error
hikaku/spring/src/main/kotlin/de/codecentric/hikaku/converters/spring/extensions/PathsSpringExtension.kt
Lines 5 to 7 in b8a754f
I've stepped through the code and I can see that
patternsCondition
returns null. In the Javadoc I see:I can see
pathPatternsCondition
seems to return the endpoint correctly.Expected behavior
Hikaku can discover the endpoints defined in Spring
Code samples
The rest controllers are defined like this
The text was updated successfully, but these errors were encountered: