Skip to content

Commit 03ed93f

Browse files
committed
fix the expected test output (#478)
(cherry picked from commit 5c5e510)
1 parent 2d5e85a commit 03ed93f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/testInt/resources/tests/params-request-body-form-urlencoded/outputs/api

‎src/testInt/resources/tests/params-request-body-form-urlencoded/outputs/api/Api.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public interface Api {
1313
@ResponseStatus(HttpStatus.NO_CONTENT)
1414
@PostMapping(path = "/foo/params")
1515
void postFooParams(
16-
@RequestParam(name = "foo") String foo,
17-
@RequestParam(name = "bar") String bar);
16+
@RequestParam(name = "foo", required = false) String foo,
17+
@RequestParam(name = "bar", required = false) String bar);
1818

1919
@ResponseStatus(HttpStatus.NO_CONTENT)
2020
@PostMapping(path = "/foo/object", consumes = {"application/x-www-form-urlencoded"})

0 commit comments

Comments
 (0)