Commit Graph

678 Commits

Author SHA1 Message Date
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
Andy Wilkinson
712b5fd9f7 Merge branch '1.2.x' 2018-02-05 12:31:26 +00:00
Andy Wilkinson
80bb632849 Warn against the use of org.asciidoctor.convert 1.5.6
Closes gh-438
2018-02-05 12:25:12 +00:00
Andy Wilkinson
6a528911e3 Merge pull request #467 from Mathias Düsterhöft
* gh-467:
  List restdocs-raml in third-party extensions
2018-01-02 15:02:31 +00:00
Mathias Düsterhöft
e69c4c8209 List restdocs-raml in third-party extensions 2018-01-02 15:01:38 +00:00
Andy Wilkinson
b9356c9fae Merge pull request #469 from Jenn Strater
* gh-469:
  Update the Grails sample to use Grails 3.3 and Gradle 4.4
2018-01-02 14:59:59 +00:00
Jennifer Strater
75bc7e0538 Update the Grails sample to use Grails 3.3 and Gradle 4.4
Closes gh-469
2018-01-02 14:48:03 +00:00
Andy Wilkinson
85c04b82b0 Merge branch '1.2.x' 2017-11-28 09:23:19 +00:00
Andy Wilkinson
874bfd119e Update samples to use 1.2.4 snapshots 2017-11-28 09:23:03 +00:00
Spring Buildmaster
fe9ec0ea1c Next development version 2017-11-28 09:19:01 +00:00
Andy Wilkinson
bd3d253a2c Upgrade samples to use 2.0.1 snapshots 2017-11-28 08:55:46 +00:00
Spring Buildmaster
4a54c401aa Next development version 2017-11-28 08:41:23 +00:00
Andy Wilkinson
11da628066 Upgrade to Spring Framework 5.0.2.RELEASE
Closes gh-458
2017-11-28 07:21:50 +00:00
Andy Wilkinson
73970cafe8 Merge pull request #460 from Johnny Lim
* gh-460:
  Update minimum Java version in README.md and CONTRIBUTING.md
2017-11-20 10:55:47 +00:00
Johnny Lim
126d8fde56 Update minimum Java version in README.md and CONTRIBUTING.md
Closes gh-460
2017-11-20 10:55:13 +00:00
Andy Wilkinson
22dd1e75a4 Apply default scheme, host, and port to WebTestClient URIs
Closes gh-461
2017-11-20 09:50:49 +00:00
Andy Wilkinson
17d05f2750 Merge pull request #459 from Johnny Lim
* gh-459:
  Upgrade to org.asciidoctor.convert 1.5.6
2017-11-18 16:35:58 +00:00
Johnny Lim
5750babc6f Upgrade to org.asciidoctor.convert 1.5.6
Closes gh-459
2017-11-18 16:30:35 +00:00
Andy Wilkinson
d18f8d8246 Upgrade to Spring Asciidoctor Extensions 0.1.2.RELEASE
Closes gh-448
2017-11-18 16:29:35 +00:00
Andy Wilkinson
6912977b87 Document how to configure URIs when using WebTestClient
Closes gh-455
2017-11-12 17:48:21 +00:00
Andy Wilkinson
0f0769245d Add cookie handling to WebTestClient request and response converters
Closes gh-447
2017-11-12 17:31:51 +00:00
Andy Wilkinson
b7bf8cb992 Merge pull request #457 from Roman Zaynetdinov
* gh-457:
  Remove unused custom URI configuration documentation example
2017-11-12 15:17:07 +00:00