Commit Graph

380 Commits

Author SHA1 Message Date
Andy Wilkinson
ba89d685a4 Polish "Correct typo from 'Explict' to 'Explicit'"
See gh-948
2024-10-23 11:37:09 +01:00
SJLEE
aa94fb1d9c Correct typo from 'Explict' to 'Explicit'
See gh-948
2024-10-23 11:36:57 +01:00
Johnny Lim
5d9b7ec575 Use single Cookie header in HttpRequestSnippet
See https://www.rfc-editor.org/rfc/rfc6265#section-5.4

See gh-947
2024-10-18 12:34:38 +01:00
Andy Wilkinson
694f28e030 Upgrade to Spring Java Format 0.0.43 2024-09-30 11:20:23 +01:00
Andy Wilkinson
d58b32cef0 Upgrade to compatibility test plugin 0.0.3
Closes gh-935
2024-09-30 11:05:38 +01:00
Andy Wilkinson
609bf21ef4 Use Spring Framework 6.1.x by default
Closes gh-941
2024-09-30 10:06:42 +01:00
Andy Wilkinson
cf451c940f Fix compatibility problems with Spring Framework 6.2
Fixes gh-934
2024-07-18 07:49:08 +01:00
Andy Wilkinson
9743b45d28 Start using 0.0.3 snapshots of the compatibility test plugin
See gh-935
2024-07-18 07:47:47 +01:00
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
1f61eab977 Address the build's own deprecation warnings 2024-03-28 15:31:26 +00: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
c69e2176e4 Add compatibility testing for Framework 6.1
Closes gh-905
2023-11-14 10:18:37 +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
c8cd6e1f76 Merge branch '2.0.x' 2023-01-10 18:10:19 +00:00
Andy Wilkinson
39e7730589 Update dependencies to remove dependency on release repo 2023-01-10 17:55:11 +00:00
Andy Wilkinson
6a2f8fc365 Switch to Tomcat's EL reference implementation
Closes gh-871
2022-11-18 17:55:39 +00: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
d1c0ccc331 Merge branch '2.0.x' 2022-01-12 13:30:24 +00:00
Andy Wilkinson
aa020db396 Remove unused optional dependency on commons-codec 2022-01-12 13:14:00 +00:00