Skip to content

Commit a6a7a93

Browse files
izeyewilkinsona
authored andcommitted
Fix typo in OperationResponseFactory Javadoc
See gh-765
1 parent b685d10 commit a6a7a93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-restdocs-core/src/main/java/org/springframework/restdocs/operation/OperationResponseFactory.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public class OperationResponseFactory {
3131
* {@code headers} will be augmented to ensure that they include a
3232
* {@code Content-Length} header.
3333
* @param status the status of the response
34-
* @param headers the request's headers
35-
* @param content the content of the request
34+
* @param headers the response's headers
35+
* @param content the content of the response
3636
* @return the {@code OperationResponse}
3737
* @deprecated since 2.0.4 in favor of {@link #create(int, HttpHeaders, byte[])}
3838
*/
@@ -46,8 +46,8 @@ public OperationResponse create(HttpStatus status, HttpHeaders headers, byte[] c
4646
* {@code headers} will be augmented to ensure that they include a
4747
* {@code Content-Length} header.
4848
* @param status the status of the response
49-
* @param headers the request's headers
50-
* @param content the content of the request
49+
* @param headers the response's headers
50+
* @param content the content of the response
5151
* @return the {@code OperationResponse}
5252
*/
5353
public OperationResponse create(int status, HttpHeaders headers, byte[] content) {

0 commit comments

Comments
 (0)