@ -114,11 +114,13 @@ class AuthorizeRequestsDslTests {
@@ -114,11 +114,13 @@ class AuthorizeRequestsDslTests {
@RestController
internal class PathController {
@RequestMapping ( " /path " )
fun path ( ) {
fun path ( ) : String {
return " ok "
}
@RequestMapping ( " /onlyPostPermitted " )
fun onlyPostPermitted ( ) {
fun onlyPostPermitted ( ) : String {
return " ok "
}
}
}
@ -171,7 +173,8 @@ class AuthorizeRequestsDslTests {
@@ -171,7 +173,8 @@ class AuthorizeRequestsDslTests {
@RestController
internal class PathController {
@RequestMapping ( " /path " )
fun path ( ) {
fun path ( ) : String {
return " ok "
}
}
}
@ -327,7 +330,8 @@ class AuthorizeRequestsDslTests {
@@ -327,7 +330,8 @@ class AuthorizeRequestsDslTests {
@RestController
internal class PathController {
@GetMapping ( " / " )
fun index ( ) {
fun index ( ) : String {
return " ok "
}
}
@ -398,7 +402,8 @@ class AuthorizeRequestsDslTests {
@@ -398,7 +402,8 @@ class AuthorizeRequestsDslTests {
@RestController
internal class PathController {
@GetMapping ( " / " )
fun index ( ) {
fun index ( ) : String {
return " ok "
}
}
@ -461,7 +466,8 @@ class AuthorizeRequestsDslTests {
@@ -461,7 +466,8 @@ class AuthorizeRequestsDslTests {
@RestController
internal class PathController {
@RequestMapping ( " /path " )
fun path ( ) {
fun path ( ) : String {
return " ok "
}
}
}
@ -484,7 +490,8 @@ class AuthorizeRequestsDslTests {
@@ -484,7 +490,8 @@ class AuthorizeRequestsDslTests {
@RestController
internal class PathController {
@RequestMapping ( " /path " )
fun path ( ) {
fun path ( ) : String {
return " ok "
}
}
}
@ -522,7 +529,8 @@ class AuthorizeRequestsDslTests {
@@ -522,7 +529,8 @@ class AuthorizeRequestsDslTests {
@RestController
internal class PathController {
@RequestMapping ( " /path " )
fun path ( ) {
fun path ( ) : String {
return " ok "
}
}
}