If forwarded prefix is specified it should always replace context path in respective spring versions
@@ -100,8 +100,8 @@ class Swagger2ControllerSpec extends DocumentationContextSpec
where:
prefix | expectedPath
"/fooservice" | "/fooservice/servletPath"
- "/" | "/contextPath/servletPath"
- "" | "/contextPath/servletPath"
+ "/" | "/servletPath"
+ "" | "/servletPath"
}
def "should respect custom basePath even a custom host is not set"() {
