Commit Graph

699 Commits

Author SHA1 Message Date
Andy Wilkinson
7ad284c407 Polish 2018-06-17 14:04:03 +01:00
Andy Wilkinson
88ccc2baa6 Merge branch 'gh-515' 2018-06-17 12:59:10 +01:00
Andy Wilkinson
a60b87990b Tolerate changes to request body reading in Framework 5.1
Previously, MockHttpServletRequest allowed its body to be ready
multiple times using its InputStream. As of recent Spring Framework
5.1 snapshots, this is no longer the case.

This commit moves to directly accessing the request's content as a
byte array using getContentAsByteArray() which was introduced in
Framework 5.0.

Closes gh-515
2018-06-17 12:55:56 +01:00
Andy Wilkinson
026af2de2a Add matrix testing infrastructure 2018-06-17 08:01:41 +01:00
Andy Wilkinson
a1198069be Merge branch '1.2.x' 2018-04-24 08:35:38 +01:00
Andy Wilkinson
1e35e8279c Polish Slate sample's README 2018-04-24 08:35:13 +01:00
Andy Wilkinson
cafd526d86 Update the samples to build against 2.0.2 samples 2018-04-23 17:52:47 +01:00
Spring Buildmaster
0aa593b3fa Next development version 2018-04-04 10:44:04 +00:00
Andy Wilkinson
a4c8c12762 Disable Gradle's daemon when building the samples 2018-04-04 11:25:26 +01:00
Andy Wilkinson
7ccc26dca7 Merge branch '1.2.x' 2018-04-04 10:55:22 +01:00
Andy Wilkinson
a2b62e025a Update samples to use 1.2.5 snapshots 2018-04-04 10:55:02 +01:00
Spring Buildmaster
037d572e2c Next development version 2018-04-04 09:23:04 +00:00
Andy Wilkinson
1751910898 Polish 2018-04-04 09:41:31 +01:00
Andy Wilkinson
2ed58da83f Upgrade to Hibernate Validator 6.0.9
Closes gh-503
2018-04-04 09:21:28 +01:00
Andy Wilkinson
4db9f2afc0 Upgrade to Jackson Databind 2.9.5
Closes gh-502
2018-04-04 09:20:12 +01:00
Andy Wilkinson
f9a55df853 Upgrade to Spring Framework 5.0.5.RELEASE
Closes gh-501
2018-04-04 09:19:03 +01:00
Andy Wilkinson
bfdbf2a70b Merge branch '1.2.x' 2018-04-04 09:17:56 +01:00
Andy Wilkinson
4c6cccac24 Upgrade to REST Assured 3.0.7
Closes gh-500
2018-04-04 09:13:17 +01:00
Andy Wilkinson
39733893c1 Upgrade to Spring Framework 4.3.15
Closes gh-499
2018-04-04 09:08:05 +01:00
Andy Wilkinson
13fde96fed Merge pull request #493 from Joe McCall
* gh-493:
  Polish "Move UriModifyingOperationPreprocessor to core project"
  Move UriModifyingOperationPreprocessor to core project
2018-03-28 11:45:33 +01:00
Andy Wilkinson
e7d2d44a05 Polish "Move UriModifyingOperationPreprocessor to core project"
Closes gh-493
2018-03-28 11:44:50 +01:00
Joe McCall
37f313c766 Move UriModifyingOperationPreprocessor to core project
This functionality does not rely on RestAssured, and could prove
useful to other Spring REST Docs extensions.

See gh-493
2018-03-28 11:38:30 +01:00
Andy Wilkinson
3e12e808b0 Merge branch '1.2.x' 2018-03-28 10:11:20 +01:00
Andy Wilkinson
baa8e6bb90 Document an example of the operation macro's equivalent Asciidoctor
Closes gh-470
2018-03-28 10:10:10 +01:00
Andy Wilkinson
45d27f2ca1 Merge branch '1.2.x' 2018-03-28 09:50:20 +01:00
Andy Wilkinson
1c08000bcf Retain subsection extractor when adding field descriptors with prefix
Closes gh-480
2018-03-28 09:46:27 +01:00
Andy Wilkinson
9bb3dda66e Use compatibility rather than equality to identify form encoded requests
Closes gh-496
2018-03-28 09:27:25 +01:00
Andy Wilkinson
fa5e2366d2 Merge branch '1.2.x' 2018-03-27 16:08:39 +01:00
Andy Wilkinson
7924d5fb01 Disable formatting of monospaced text in Asciidoctor templates
Previously, if text enclosed in ` characters contained multiple *
characters, the *s would be removed and the characters they enclosed
would become bold.

This commit escapes the text by enclosing it in + characters in
addition to the existing, enclosing ` characters. The `+text+`
arrangement retains the monospace formatting be disables any further
formatting of the text.

Closes gh-474
2018-03-27 16:08:11 +01:00
Andy Wilkinson
223d2cc9a4 Try to isolate Grails sample from Bintray outages 2018-03-27 15:29:15 +01:00
Andy Wilkinson
8e338b6c73 Merge branch '1.2.x' 2018-03-27 15:27:15 +01:00
Andy Wilkinson
0b0c9e1cc4 Perform attribute substitution on operation macro's target
Closes gh-491
2018-03-27 15:24:00 +01:00
Andy Wilkinson
097b38d5c5 Update the Spring Boot-based samples to use 2.0.0.RELEASE
Closes gh-494
2018-03-27 15:16:08 +01:00
Andy Wilkinson
b150beb9be Merge branch '1.2.x' 2018-03-27 14:30:19 +01:00
Andy Wilkinson
ecbb3a8d67 Merge pull request #477 from Pierre-Jean Vardanega
* gh-477:
  Convert query parameters list as param=1&param=2 instead of param=1,2
2018-03-27 14:26:14 +01:00
Pierre-Jean Vardanega
586de30212 Convert query parameters list as param=1&param=2 instead of param=1,2
Closes gh-477
2018-03-27 14:25:33 +01:00
Andy Wilkinson
7f91d5f2e5 Merge branch '1.2.x' 2018-03-27 14:13:45 +01:00
Andy Wilkinson
a7e91ad63f Merge pull request #488 from Johnny Lim
* gh-488:
  Add HTTP method option unconditionally in curl command
2018-03-27 14:08:31 +01:00
Johnny Lim
da64c55fce Add HTTP method option unconditionally in curl command
Closes gh-488
2018-03-27 14:07:47 +01:00
Andy Wilkinson
e84aa86171 Merge branch '1.2.x' 2018-03-27 13:01:20 +01:00
Andy Wilkinson
95c4234c99 Format core code with Eclipse Oxygen's formatter 2018-03-27 12:53:34 +01:00
Andy Wilkinson
ec6cff0e83 Merge pull request #485 from Krzysztof Kocel
* gh-485:
  Make Slate sample build again
2018-03-26 12:57:05 +01:00
Krzysztof Kocel
87fbd10000 Make Slate sample build again
Closes gh-485
2018-03-26 12:56:17 +01:00
Andy Wilkinson
a8c222f2e7 Merge pull request #481 from bartolom
* gh-481:
  Fix typo in fully-qualified name of WebTestClientRestDocumentation
2018-02-19 12:41:08 +00:00
bartolom
9950bdbdf1 Fix typo in fully-qualified name of WebTestClientRestDocumentation
Closes gh-481
2018-02-19 12:40:17 +00:00
Andy Wilkinson
d628badc18 Merge branch '1.2.x' 2018-02-19 12:38:22 +00:00
Andy Wilkinson
f651c30e03 Merge pull request #482 from bartolom
* gh-482:
  Quote cols attribute in Asciidoc table example
2018-02-19 12:37:48 +00:00
bartolom
7e3417e124 Quote cols attribute in Asciidoc table example
Closes gh-482
2018-02-19 12:36:25 +00:00
Andy Wilkinson
bb630c17b5 Include query string parameters for non-GET requests in Parameters
Previously, the query string was only parsed when converted a GET
request. This commit updates WebTestClientRequestConverter to
parse the query string for all requests irrespective of the method.

Closes gh-472
2018-02-15 12:19:58 +00:00
Andy Wilkinson
15ea8d1898 Access WebTestClient request Content-Type defensively
Closes gh-479
2018-02-15 11:49:41 +00:00