Skip to content

Commit

Permalink
add param name and update to last spring
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenek-jonas committed Dec 14, 2023
1 parent 3ca91c9 commit 43c4023
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/spring-boot3-simple/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring.boot.version>3.1.5</spring.boot.version>
<spring.boot.version>3.2.0</spring.boot.version>
</properties>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public List<String> getAll()
* @return The joke with the specified ID.
*/
@GetMapping("/joke")
public String getOneJoke(@RequestParam(required = false) Integer id)
public String getOneJoke(@RequestParam(name = "id") Integer id)
{
return jokesServices.oneJoke(id);
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/spring-boot3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<org.springframework.boot.version>3.1.5</org.springframework.boot.version>
<org.springframework.boot.version>3.2.0</org.springframework.boot.version>
</properties>

<dependencies>
Expand Down

0 comments on commit 43c4023

Please sign in to comment.