BAEL-5715 Updated Code Formatting
This commit is contained in:
parent
f40f203e9e
commit
0c61184a4f
|
@ -14,11 +14,13 @@ public class PostmanUploadController {
|
||||||
|
|
||||||
@PostMapping("/uploadFile")
|
@PostMapping("/uploadFile")
|
||||||
public ResponseEntity<String> handleFileUpload(@RequestParam("file") MultipartFile file) {
|
public ResponseEntity<String> handleFileUpload(@RequestParam("file") MultipartFile file) {
|
||||||
return ResponseEntity.ok().body("file received successfully");
|
return ResponseEntity.ok()
|
||||||
|
.body("file received successfully");
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/uploadJson")
|
@PostMapping("/uploadJson")
|
||||||
public ResponseEntity<String> handleJsonInput(@RequestBody JsonRequest json) {
|
public ResponseEntity<String> handleJsonInput(@RequestBody JsonRequest json) {
|
||||||
return ResponseEntity.ok().body(json.getId()+json.getName());
|
return ResponseEntity.ok()
|
||||||
|
.body(json.getId() + json.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue