提交 bac9f43b 编写于 作者: R Rossen Stoyanchev

Fix typo in documentation

Issue: SPR-11301
上级 c9044151
......@@ -28772,7 +28772,7 @@ A matrix variable may be defined as optional and a default value specified:
// GET /pets/42
@RequestMapping(value = "/pets/{petId}", method = RequestMethod.GET)
public void findPet(@MatrixVariable(required=true, defaultValue="1") int q) {
public void findPet(@MatrixVariable(required=false, defaultValue="1") int q) {
// q == 1
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册