214 Commits

Author SHA1 Message Date
Jens Teglhus Møller
af35dbd874 Align bootJar example with changes to Asciidoctor's Gradle plugin
Signed-off-by: Jens Teglhus Møller <jtm@mostlyharmless.dk>

See gh-962
2025-05-16 10:11:33 +01:00
Andy Wilkinson
7f6a0f6cbc Polish "Omit the version in the Maven Resources plugin example"
See gh-943
2024-10-01 16:12:23 +01:00
Daniel Vergien
4e7b36bfd9 Omit the version in the Maven Resources plugin example
See gh-943
2024-10-01 16:11:39 +01:00
Andy Wilkinson
272ed24de8 Use getUriTemplate of MockHttpServletRequest
Fixes gh-939
2024-09-13 10:34:32 +01:00
Andy Wilkinson
b6df3243b8 Document how to specify query parameters when testing with MockMvc
Closes gh-926
2024-05-07 15:51:13 +01:00
Andy Wilkinson
f7605a479c Merge branch '2.0.x'
Closes gh-893
2023-05-25 15:45:13 +01:00
Andy Wilkinson
9471dd0b8f Clarify the role of snippetsDir as a task input and output
Closes gh-892
2023-05-25 15:43:27 +01: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
decb53b686 Document JUnit 5 before JUnit 4
Closes gh-864
2022-11-18 18:25:54 +00:00
Andy Wilkinson
c71b8b2658 Update Bean Validation version in reference docs
Closes gh-869
2022-11-18 17:45:34 +00:00
Andy Wilkinson
4a958950c7 Upgrade to REST Assured 5.2.0
Closes gh-855
2022-10-15 17:03:29 +01:00
Andy Wilkinson
632e735550 Link to current version of Spring Framework's reference documentation
Closes gh-853
2022-10-15 16:30:45 +01:00
Andy Wilkinson
4807bec4b7 Remove samples in favor of those in separate repository
Closes gh-852
2022-10-15 16:13:25 +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
c3a193c6a2 Polish HTTP cookies documentation
See gh-592
2022-07-18 17:56: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
63be118ed0 Reinstate missing section headings in the reference documentation
Closes gh-833
2022-07-18 16:01:20 +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
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
fbad11e0a1 Update documentation examples to use new modifyHeaders preprocessor
Closes gh-827
2022-07-15 11:05:58 +01:00
Andy Wilkinson
2e507380cc Merge branch '2.0.x'
Closes gh-824
2022-07-15 10:30:40 +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
5be36f5e9e Merge branch '2.0.x' 2022-06-20 20:44:07 +01:00
izeye
07a6f26755 Polish
See gh-808
2022-06-20 20:42:16 +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
df6b902461 Upgrade to REST Assured 5.0.0
Closes gh-791
2022-03-25 09:41:19 +00:00
Andy Wilkinson
d38d79755b Restore support for REST Assured
Closes gh-784
2022-01-24 11:21:03 +00:00
Andy Wilkinson
57d2e88e7a Remove stray reference to REST Assured
See gh-761
2022-01-11 12:39:43 +00:00
Andy Wilkinson
e78998de15 Merge branch '2.0.x'
# Conflicts:
#	docs/src/docs/asciidoc/configuration.adoc
#	docs/src/docs/asciidoc/customizing-requests-and-responses.adoc
#	docs/src/docs/asciidoc/documenting-your-api.adoc
#	docs/src/docs/asciidoc/getting-started.adoc
2022-01-11 12:05:59 +00:00
Andy Wilkinson
232f581f67 Polish .adoc source files 2022-01-11 11:59:56 +00:00
Andy Wilkinson
adbc880b70 Merge branch '2.0.x' 2022-01-10 17:23:33 +00:00
Andy Wilkinson
87e7a7bb3b Format documentation using one sentence per line
Closes gh-772
2022-01-10 15:50:10 +00:00
Andy Wilkinson
e5a763be26 Merge branch '2.0.x' 2022-01-10 11:53:47 +00:00
Andy Wilkinson
acd60c7068 Polish "Document how to use org.asciidoctor.jvm.convert Gradle plugin"
See gh-744
2022-01-10 11:51:51 +00:00
Berchris Requiao
0952e5f974 Document how to use org.asciidoctor.jvm.convert Gradle plugin
See gh-744
2022-01-10 11:32:34 +00:00
Andy Wilkinson
7428164204 Merge branch '2.0.x'
# Conflicts:
#	docs/src/docs/asciidoc/documenting-your-api.adoc
#	docs/src/docs/asciidoc/getting-started.adoc
2022-01-10 11:29:52 +00:00
Andy Wilkinson
96293c0f17 Format callouts consistently in .adoc source files 2022-01-10 11:25:28 +00:00
Andy Wilkinson
5dd1bd4beb Merge branch '2.0.x' 2022-01-10 10:55:24 +00:00
Andy Wilkinson
350a4c65e3 Align fileUpload and multipart methods with MockMvc
Closes gh-770
2022-01-10 10:54:12 +00:00
Andy Wilkinson
d2a5bb26ea Drop support for REST Assured until it supports Jakarta EE 9
Closes gh-761
2021-11-18 15:41:37 +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
1e96e3e71a Raise the minimum supported version of AsciidoctorJ to 2.5
Closes gh-751
2021-11-17 11:18:00 +00:00
Andy Wilkinson
774bed30b9 Raise the minimum version of REST Assured to 4.4
Closes gh-752
2021-11-17 11:18:00 +00:00
Andy Wilkinson
f3e305ab24 Polish 2021-06-15 11:36:33 +01:00