Andy Wilkinson
b107d0e8ed
Merge branch '2.0.x'
2022-10-12 10:54:37 +01:00
Andy Wilkinson
37c77f3285
Tolerate responses with non-standard status codes with WebTestClient
...
Closes gh-847
2022-10-12 10:50:40 +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
a5e466b49e
Merge branch '2.0.x'
2022-07-18 19:53:17 +01:00
Andy Wilkinson
53811b777f
Correct promotion image and script
2022-07-18 19:52:51 +01:00
Andy Wilkinson
c3a193c6a2
Polish HTTP cookies documentation
...
See gh-592
2022-07-18 17:56:13 +01:00
Andy Wilkinson
3a87d5f094
Upgrade to Mockito 4.6.1
...
Closes gh-840
2022-07-18 17:38:53 +01:00
Andy Wilkinson
cbfec7f26d
Upgrade to Moneta 1.4.2
...
Closes gh-839
2022-07-18 17:38:27 +01:00
Andy Wilkinson
cd5fed45f4
Upgrade to AssertJ 3.23.1
...
Closes gh-838
2022-07-18 17:37:56 +01:00
Andy Wilkinson
5ff5e147b3
Upgrade to AsciidoctorJ PDF 2.1.4
...
Closes gh-837
2022-07-18 17:37:13 +01:00
Andy Wilkinson
30812e2731
Upgrade to REST Assured 5.1.1
...
Closes gh-836
2022-07-18 17:36:34 +01:00
Andy Wilkinson
7537e36f19
Upgrade to AsciidoctorJ 2.5.4
...
Closes gh-835
2022-07-18 17:34:20 +01:00
Andy Wilkinson
108e04bc87
Upgrade to JMustache 1.15
...
Closes gh-834
2022-07-18 17:33:48 +01:00
Andy Wilkinson
71773f89b6
Upgrade samples to Spring HATEOAS 2.0.0-M5
...
Closes gh-842
2022-07-18 17:29:56 +01:00
Andy Wilkinson
8c277ae8e4
Upgrade samples to Spring Data 2022.0.0-M5
...
Closes gh-841
2022-07-18 17:27:02 +01:00
Andy Wilkinson
f7bad388e2
Upgrade samples to Spring Framework 6.0.0.M5
...
See gh-822
2022-07-18 17:23:56 +01:00
Andy Wilkinson
63be118ed0
Reinstate missing section headings in the reference documentation
...
Closes gh-833
2022-07-18 16:01:20 +01:00
Andy Wilkinson
d34962c80c
Merge pull request #592 from clydebarrow
...
* gh-592:
Polish "Add support for documenting request and response cookies"
Add support for documenting request and response cookies
Closes gh-592
2022-07-18 14:46:46 +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
15980d7486
Merge pull request #797 from achimgrimm
...
* gh-797:
Polish "Specify language derived from Content-Type in body snippets"
Specify language derived from Content-Type in body snippets
Closes gh-797
2022-07-15 15:51:06 +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
bdba92efe7
Provide a bom that manages all modules
...
Closes gh-831
2022-07-15 15:25:16 +01:00
Andy Wilkinson
3ae44e07b3
Merge branch '2.0.x'
2022-07-15 13:05:18 +01:00
Andy Wilkinson
f592413ec2
Polish buildSrc
2022-07-15 13:03:44 +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
9cb8a77cd8
Merge branch '2.0.x'
2022-07-15 12:49:31 +01:00
Andy Wilkinson
96501cda26
Address warnings in WebTestClient sample
...
Closes gh-830
2022-07-15 12:48:02 +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
fbad11e0a1
Update documentation examples to use new modifyHeaders preprocessor
...
Closes gh-827
2022-07-15 11:05:58 +01:00
Andy Wilkinson
6ab923b470
Broaden java compilation linting
...
Closes gh-825
2022-07-15 10:45:06 +01:00
Andy Wilkinson
5b7b3046c1
Merge branch '2.0.x'
2022-07-15 10:43:16 +01:00
Andy Wilkinson
835cd24695
Merge pull request #821 from izeye
...
* gh-821:
Polish "Suppress deprecation warnings in RestDocumentationRequestBuildersTests"
Suppress deprecation warnings in RestDocumentationRequestBuildersTests
Closes gh-821
2022-07-15 10:42:23 +01:00
Andy Wilkinson
ee522f6ce1
Polish "Suppress deprecation warnings in RestDocumentationRequestBuildersTests"
...
See gh-821
2022-07-15 10:42:13 +01:00
izeye
83fa37f44a
Suppress deprecation warnings in RestDocumentationRequestBuildersTests
...
See gh-821
2022-07-15 10:40:46 +01:00
Andy Wilkinson
2e507380cc
Merge branch '2.0.x'
...
Closes gh-824
2022-07-15 10:30:40 +01:00
Andy Wilkinson
5a7dde16ad
Add forward merge infrastructure
...
Closes gh-823
2022-07-15 10:30:17 +01:00
Andy Wilkinson
ce2c7b3777
Merge pull request #819 from izeye
...
* gh-819:
Use HTTPS for REST Assured links
Closes gh-819
2022-07-15 10:09:04 +01:00
izeye
03732a2254
Use HTTPS for REST Assured links
...
This commit also drops the now unnecessary nohttp allowlist.lines
file.
See gh-819
2022-07-15 10:03:36 +01:00
Andy Wilkinson
d1654dbf15
Merge branch '2.0.x'
2022-07-15 09:46:14 +01:00
Andy Wilkinson
6574583606
Merge pull request #820 from izeye
...
* gh-820:
Upgrade to Spring Java Format 0.0.34
Closes gh-820
2022-07-15 09:45:25 +01:00
izeye
622392ca85
Upgrade to Spring Java Format 0.0.34
...
See gh-820
2022-07-15 09:45:09 +01:00
Andy Wilkinson
cee26fdb47
Upgrade to Spring Framework 6.0.0.M5
...
Closes gh-822
2022-07-15 08:21:47 +01:00
Andy Wilkinson
5be36f5e9e
Merge branch '2.0.x'
2022-06-20 20:44:07 +01:00
Andy Wilkinson
f324611784
Merge pull request #808 from izeye
...
* gh-808:
Polish
Closes gh-808
2022-06-20 20:42:41 +01:00