Skip to content

Commit 75521d3

Browse files
committed
Fixing multipart part of readme a bit
1 parent 8944896 commit 75521d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ org.acme.openapi.simple.api.DefaultApi/byeGet/CircuitBreaker/failureRatio=3.14
276276
org.acme.openapi.simple.api.DefaultApi/byeGet/CircuitBreaker/successThreshold=22
277277
````
278278

279-
## Multipart/form-data input
279+
## Sending multipart/form-data
280280
The rest client also supports request with mime-type multipart/form-data and, if the schema of the request body is known in advance, we can also automatically generate the models of the request bodies.
281281

282282
You need to add the following additional dependency to your `pom.xml`:
@@ -289,7 +289,7 @@ You need to add the following additional dependency to your `pom.xml`:
289289
For any multipart/form-data operation a model for the request body will be generated. Each part of the multipart is a field in this model that is annotated with the following annotations:
290290
- `javax.ws.rs.FormParam`, where the value parameter denotes the part name,
291291
- `org.jboss.resteasy.annotations.providers.multipart.PartType`, where the parameter is the jax-rs MediaType of the part (see below for details),
292-
- and, if the part contains a file, `org.jboss.resteasy.annotations.providers.multipart.PartFilename`, with a default generate value parameter that will be passed as the fileName sub-header in the Content-Disposition header of the part.
292+
- and, if the part contains a file, `org.jboss.resteasy.annotations.providers.multipart.PartFilename`, with a generated default parameter that will be passed as the fileName sub-header in the Content-Disposition header of the part.
293293

294294
For example, the model for a request that requires a file, a string and some complex object will look like this:
295295
```java

0 commit comments

Comments
 (0)