Open
Description
Description
Although @RequestHeader annotation is supported after #2504, there is a scenario that we can not deal with. Actually, the same problem happens for @CookieValue.
Expected behavior
Integration tests can be generated properly for the following syntax of the annotation
@GetMapping("/default")
public ResponseEntity<String> evaluateDefaultHeaderValue(@RequestHeader(value = "optional-header") Date optionalHeader) {
return new ResponseEntity<String>(
String.format("Optional Header is %s", optionalHeader), HttpStatus.OK);
}
Metadata
Metadata
Assignees
Type
Projects
Status
Todo