Commit Graph

239 Commits

Author SHA1 Message Date
Andy Wilkinson
59d13adf62 Merge branch '3.0.x' 2025-06-03 13:19:37 +01:00
Andy Wilkinson
20cff4d77b Upgrade to Gradle 8.14.1 and minimize deprecation warnings 2025-06-03 11:13:35 +01:00
Andy Wilkinson
1d34bcb53c Merge branch '3.0.x' 2025-05-16 10:12:24 +01:00
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
0b103fdc0e Raise the minimum supported version of AsciidoctorJ to 3.0
Closes gh-957
2025-01-30 16:28:44 +00:00
Andy Wilkinson
5e6530a601 Raise minimum versions of validation dependencies
Closes gh-956
2025-01-30 16:06:01 +00:00
Andy Wilkinson
34c93666e1 Polish "Raise the minimum support version of Spring Framework to 7.0"
See gh-955
2025-01-30 15:18:02 +00: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
9cb352c69a Upgrade to Spring Asciidoctor Backends 0.0.5 2023-05-25 11:52:28 +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
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
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
032916c2a5 Merge branch '2.0.x' 2022-01-13 14:27:17 +00:00
Andy Wilkinson
245bc31885 Remove redundant api task from docs project 2022-01-13 14:25:26 +00:00
Andy Wilkinson
57d2e88e7a Remove stray reference to REST Assured
See gh-761
2022-01-11 12:39:43 +00:00
Andy Wilkinson
cc5a381ed9 Use Spring backend to generate HTML reference documentation
Closes gh-681
Closes gh-773
2022-01-11 12:37:37 +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