Andy Wilkinson
60f12e4819
Fix HTTP request snippet's body for multipart PATCH requests
...
Closes gh-933
2024-07-02 18:40:41 +01:00
Andy Wilkinson
9b9cc208b5
Upgrade to Checkstyle 10.12.4
2024-01-24 14:25:44 +00:00
Andy Wilkinson
1fea2151e2
Polish "Simplify annotation"
...
See gh-917
2024-01-24 14:14:48 +00:00
mnhock
020b6a6a97
Simplify annotation
...
See gh-917
2024-01-24 14:14:41 +00:00
Andy Wilkinson
a74723ceb2
Merge pull request #916 from mnhock
...
* gh-916:
Polish "Remove unused String.format call"
Remove unused String.format call
Closes gh-916
2024-01-24 14:12:16 +00:00
Andy Wilkinson
79ff75fe6e
Polish "Remove unused String.format call"
...
See gh-916
2024-01-24 14:12:05 +00:00
mnhock
ccc81f2e5b
Remove unused String.format call
...
See gh-916
2024-01-24 14:11:04 +00:00
mnhock
32a1b3a4fd
Make constructor in abstract class protected
...
See gh-916
Closes gh-916
2024-01-24 14:05:43 +00:00
Andy Wilkinson
a6abb3847c
Merge branch '2.0.x'
...
Closes gh-907
2023-11-14 10:24:16 +00:00
penekhun
2e24582d2c
Avoid substring creation when string part to StringBuilder
...
See gh-900
2023-11-14 10:21:11 +00:00
Andy Wilkinson
ef07abbe30
Start building against Spring Framework 6.0.14 snapshots
...
See gh-904
Closes gh-906
2023-11-14 10:14:04 +00:00
Andy Wilkinson
88caf04379
Merge branch '2.0.x'
...
Closes gh-891
2023-05-11 17:56:16 +01:00
Andy Wilkinson
e741790f02
Upgrade to Spring Java Format 0.0.38
...
Closes gh-890
2023-05-11 17:51:45 +01:00
Andy Wilkinson
702c9ad5ad
Upgrade to JUnit 4.13.1
...
Upgrade included dropping use of the now-deprecated ExpectedException
in favor of AssertJ's assertions for thrown exceptions.
Closes gh-863
2022-10-15 17:50:13 +01:00
Andy Wilkinson
03b61ab075
Use Framework's HttpStatusCode to model response's status
...
Closes gh-848
2022-10-12 11:26:01 +01:00
Andy Wilkinson
f5a629af34
Handle form and query parameters separately
...
Previously, form and query parameters were handled together as
request parameters. Howeer, request parameters are a server-side
construct that's specific to the servlet specification. As such
they're not appropriate for the client-side documentation that
Spring REST Docs aims to produce.
This commit replaces support for documenting request parameters
with support for documenting query paramters found in the query
string of the request's URI and for documenting form parameters
found in the form URL encoded body of the request.
Closes gh-832
2022-10-12 10:18:33 +01:00
Andy Wilkinson
b4be34bf8e
Remove support for modifying request parameters
...
Request parameters are a server-side constructor, specific to the
servlet specification. Rather than modifying request parameters the
query string of the URI or the form URL encoded content of the body
should be modified instead.
Closes gh-846
2022-10-12 10:17:01 +01:00
Andy Wilkinson
d5522f5335
Polish "Add support for documenting request and response cookies"
...
See gh-592
2022-07-18 14:46:26 +01:00
clydebarrow
f72a9f1067
Add support for documenting request and response cookies
...
See gh-592
2022-07-18 11:16:16 +01:00
Andy Wilkinson
aa9cef9f02
Polish "Specify language derived from Content-Type in body snippets"
...
See gh-797
2022-07-15 15:47:31 +01:00
Achim Grimm
9a44205253
Specify language derived from Content-Type in body snippets
...
See gh-797
2022-07-15 15:46:31 +01:00
Andy Wilkinson
58bc758c37
Merge branch '2.0.x'
2022-07-15 12:52:41 +01:00
Andy Wilkinson
b872fc8123
Only wrap non-RuntimeExceptions
...
See gh-828
2022-07-15 12:52:19 +01:00
Andy Wilkinson
b4fd66ff9b
Merge branch '2.0.x'
...
Closes gh-829
2022-07-15 12:43:51 +01:00
Andy Wilkinson
ebe70a91c7
Remove redundant throws declarations from non public API
...
Closes gh-828
2022-07-15 12:38:25 +01:00
Andy Wilkinson
ef6aa137e0
Merge branch '2.0.x'
...
Closes gh-826
2022-07-15 11:23:51 +01:00
Andy Wilkinson
5be36f5e9e
Merge branch '2.0.x'
2022-06-20 20:44:07 +01:00
Andy Wilkinson
f6f45caf5c
Merge branch '2.0.x'
2022-06-20 16:40:06 +01:00
Andy Wilkinson
36418f47d7
Polish "Provide a preprocessor for modifying request and response headers"
...
See gh-584
2022-05-12 14:51:08 +01:00
Jihoon Cha
768a43a61e
Provide a preprocessor for modifying request and response headers
...
See gh-584
2022-05-12 14:51:04 +01:00
Andy Wilkinson
400bf8c7d8
Merge branch '2.0.x'
2022-03-24 15:14:16 +00:00
Andy Wilkinson
8ee41a21f1
Fix modification of portless URIs when content has subsequent colon
...
Closes gh-790
2022-03-24 15:01:12 +00:00
Andy Wilkinson
4cf5892015
Remove deprecated code
...
Closes gh-781
2022-01-17 13:44:14 +00:00
Andy Wilkinson
b74462155b
Merge branch '2.0.x'
2022-01-13 12:37:09 +00:00
Andy Wilkinson
b40f0f6740
Removing remaining usage of Hamcrest from tests
...
Closes gh-776
2022-01-13 12:23:52 +00:00
Andy Wilkinson
c60c87a2b1
Merge branch '2.0.x'
2022-01-10 14:32:51 +00:00
Andy Wilkinson
d4d83f293a
Fix HTTP request snippet's handling of query strings and params
...
Closes gh-763
2022-01-10 14:31:03 +00:00
Andy Wilkinson
8f8b118411
Merge branch '2.0.x'
2022-01-10 13:40:00 +00:00
Andy Wilkinson
90e0721b7a
Use --multipart for HTTPie multipart requests
...
Previously --form was ussed which relied on a file part turning the
request into a --multipart one. Switching to --multipart makes the
intent of the request more clear and also simplifies sending parts
that aren't file-based.
Closes gh-771
2022-01-10 13:37:25 +00:00
Andy Wilkinson
a6687cf488
Merge branch '2.0.x'
2022-01-10 13:16:32 +00:00
Andy Wilkinson
a63a514193
Avoid duplicates in multipart reqs with overlapping parts and params
...
Fixes gh-746
2022-01-10 13:16:01 +00:00
Andy Wilkinson
42e84d1db3
Polish "Fix typo in OperationResponseFactory Javadoc"
...
See gh-765
2022-01-04 11:49:26 +00:00
izeye
a6a7a93179
Fix typo in OperationResponseFactory Javadoc
...
See gh-765
2022-01-04 11:49:07 +00:00
Andy Wilkinson
429d6da222
Merge branch '2.0.x'
2021-11-17 19:19:00 +00:00
Andy Wilkinson
36358244ca
Avoid possible NPE in JsonFieldPaths
...
See gh-715
2021-11-17 19:18:42 +00:00
Andy Wilkinson
da98852d53
Upgrade to Spring Java Format 0.0.29
2021-11-17 11:18:00 +00:00
Andy Wilkinson
4223f70102
Upgrade to Spring Framework 6 and Jakarta EE 9
...
Closes gh-750
Closes gh-748
2021-11-17 11:18:00 +00:00
Andy Wilkinson
68ff043fb3
Raise the minimum supported version of Java to 17
...
Closes gh-749
2021-11-17 11:18:00 +00:00
Andy Wilkinson
ea3ac32701
Make use of Gradle's support for test fixtures
...
Closes gh-756
2021-09-28 10:08:24 +01:00
Andy Wilkinson
88fe8a6f13
Stop pretty printing from truncating content starts as valid JSON
...
Fixes gh-730
2021-06-15 11:37:29 +01:00