Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit 6cf7435

Browse files
Artem LabazinArtem Labazin
authored andcommitted
fix readme
1 parent 6eebea7 commit 6cf7435

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public interface FileUploadServiceClient extends IFileUploadServiceClient {
212212
}
213213
```
214214

215-
Thanks to [tf-haotri-pham](https://github.com/tf-haotri-pham) for his featur, which makes use of Apache commons-fileupload library, which handles the parsing of the multipart response. The body data parts are held as byte arrays in memory.
215+
Thanks to [tf-haotri-pham](https://github.com/tf-haotri-pham) for his feature, which makes use of Apache commons-fileupload library, which handles the parsing of the multipart response. The body data parts are held as byte arrays in memory.
216216

217217
To use this feature, include SpringManyMultipartFilesReader in the list of message converters for the Decoder and have the Feign client return an array of MultipartFile:
218218

feign-form/src/test/java/feign/form/Server.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public ResponseEntity<String> submitRepeatableFormParam (@RequestParam("names")
221221

222222
@PostMapping(path = "/form-data", consumes = APPLICATION_FORM_URLENCODED_VALUE)
223223
public ResponseEntity<String> submitPostData (@RequestParam("f_name") String firstName,
224-
@RequestParam("age") Integer age) {
224+
@RequestParam("age") Integer age) {
225225
val response = new StringBuilder();
226226
if (firstName != null && age != null) {
227227
response
@@ -235,5 +235,4 @@ public ResponseEntity<String> submitPostData (@RequestParam("f_name") String fir
235235

236236
return ResponseEntity.status(status).body(response.toString());
237237
}
238-
239238
}

0 commit comments

Comments
 (0)