Fix typo in documentation
Issue: SPR-11301
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user