JAVA-31190: Preparation for migrating spring-boot-modules to version 3. (#15834)

This commit is contained in:
Harry9656
2024-02-27 02:49:02 +01:00
committed by GitHub
parent 74da22b9c4
commit aefd833c3b
190 changed files with 1052 additions and 832 deletions
@@ -23,6 +23,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>
</project>
@@ -20,7 +20,7 @@ public class EnumMappingController {
}
@GetMapping("/get")
public String getByLevel(@RequestParam(required = false) Level level) {
public String getByLevel(@RequestParam(name = "level", required = false) Level level) {
if (level != null) {
return level.name();
}