Commit Graph

638 Commits

Author SHA1 Message Date
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
Roman Zaynetdinov
2dc48590dd Remove unused custom URI configuration documentation example
Closes gh-457
2017-11-12 15:16:15 +00:00
Andy Wilkinson
4d4809748a Update Hibernate Validator coordinates to use new group ID
See gh-454
2017-11-12 13:16:06 +00:00
Andy Wilkinson
a17e17b00a Align constraints support with Hibernate Validator 6
Closes gh-454
2017-11-12 12:56:45 +00:00
Andy Wilkinson
ac1d8ec4ac Merge branch '1.2.x' 2017-11-11 18:58:27 +00:00
Andy Wilkinson
4d710d9143 Merge pull request #449 from Michael Simons
* gh-449:
  Fix name of self rel in reference documentation
2017-11-11 18:58:18 +00:00
Michael J. Simons
92b6268da4 Fix name of self rel in reference documentation
Closes gh-449
2017-11-11 18:57:42 +00:00
Andy Wilkinson
49a0d4f714 Merge branch '1.2.x' 2017-11-07 18:03:03 +00:00
Andy Wilkinson
90c3549f55 Refine ordering of default, operation, and additional snippets
Previously, the ordering was:

1. Operation snippets
2. Default snippets
3. Additional snippets

This meant that any operation snippets (those specifically configured
for the documentation of the particular operation) would be
overwritten by the output of the default snippets.

This commit updates the ordering to the following:

1. Default snippets
2. Operation snippets
3. Additional snippets

Closes gh-453
2017-11-07 17:52:02 +00:00
Andy Wilkinson
3f602465c0 Remove redundant additionalSnippets field
Closes gh-452
2017-11-07 17:14:09 +00:00
Andy Wilkinson
d47be09909 Polish 2017-11-07 07:25:52 +00:00
Andy Wilkinson
a8169cce0b Upgrade Boot-based samples to Spring Boot 2.0.0.M6
Closes gh-444
2017-11-06 21:18:55 +00:00
Andy Wilkinson
9c9a6f4489 Upgrade REST Assured sample to build with Gradle 4.3
See gh-446
2017-11-06 21:18:25 +00:00
Andy Wilkinson
aedb9a7bab Align with breaking API changes since JUnit 5.0 M4
Closes gh-451
2017-11-06 21:02:00 +00:00
Andy Wilkinson
c7fd07576b Build with Gradle 4.3 where possible
Upgrade the main build and all the Gradle-based samples other than
the Gradle sample to Gradle 4.3.

Closes gh-446
2017-11-06 20:42:36 +00:00
Andy Wilkinson
1a858a2e1f Build and test against Spring Framework 5.0.1.RELEASE
Closes gh-443
2017-10-30 10:20:25 +00:00
Andy Wilkinson
cfb1fbc85d Add support for using WebFlux's WebTestClient to document an API
Closes gh-384
2017-10-30 09:58:07 +00:00
Andy Wilkinson
1cd74a5c1d Merge pull request #424 from Filip Hrisafov
* gh-424:
  Polish "Add support for configuring default request and response preprocessors"
  Add support for configuring default request and response preprocessors
2017-10-27 12:10:16 +01:00
Andy Wilkinson
eed90c0b9a Polish "Add support for configuring default request and response preprocessors"
Closes gh-424
2017-10-27 12:09:56 +01:00
Filip Hrisafov
4f8b173836 Add support for configuring default request and response preprocessors
See gh-424
2017-10-27 12:09:56 +01:00
Andy Wilkinson
22cf08a9ad Merge branch '1.2.x' 2017-10-27 12:09:46 +01:00
Andy Wilkinson
abe36e3b54 Ensure that section heading appears in reference documentation
Asciidoctor appears to apply two blanks lines beneath a code block
at the end of an included file otherwise the section heading that
opens the following included file will be omitted.

Closes gh-442
2017-10-27 12:08:11 +01:00
Andy Wilkinson
276a1807c7 Polish 2017-10-26 16:10:42 +01:00
Andy Wilkinson
f0c69ade5e Merge branch '1.2.x' 2017-10-23 15:48:32 +01:00
Andy Wilkinson
473e3e1a7b Correct end tag in included source so that it matches opening tag
Closes gh-441
2017-10-23 15:47:42 +01:00
Andy Wilkinson
dfe856815d Correct section IDs so that all sections are uniquely identified
Closes gh-440
2017-10-23 15:46:42 +01:00
Andy Wilkinson
7e0da73dd2 Merge branch '1.2.x' 2017-10-20 11:04:08 +01:00
Andy Wilkinson
07bca1875f Replace placeholders in snippet name as well as the operation name
Previously, StandardWriterResolver only replaced placeholders in the
operation name. This meant that the name and location of generated
snippets was unnecessarily limited.

This commit makes things more flexible by updating
StandardWriterResolver to replace placeholders in the snippet name
as well.

Closes gh-403
2017-10-20 10:56:07 +01:00
Andy Wilkinson
660c440c6c Merge branch '1.2.x' 2017-10-20 10:32:05 +01:00
Andy Wilkinson
f62b0f3ce7 Support documentation of a required field beneath an optional field
Previously, if a field nested beneath an optional field was documented
and was required, it would be identified as missing even if its
optional ancestor was missing. This made it impossible to document
required fields of an optional subsection of a payload.

This commit updates JsonContentHandler to consider a field’s ancestors
when determining if it should be reported as missing. If the field
field has an optional ancestor that is not present, the field is not
considered to be missing if it too is not present. If the field has
an optional ancestor that is present then the field is considered to
be missing if it is not present.

Closes gh-429
2017-10-20 10:05:26 +01:00
Andy Wilkinson
7f75529c01 Merge branch '1.2.x' 2017-10-20 09:57:28 +01:00
Andy Wilkinson
ead32c3f88 Merge pull request #436 from Johnny Lim
* gh-436:
  Polish tests
2017-10-20 09:57:22 +01:00
Johnny Lim
aeb12673ae Polish tests
Closes gh-436
2017-10-20 09:39:59 +01:00
Andy Wilkinson
3f127897c3 Merge branch '1.2.x' 2017-10-13 11:53:36 +01:00
Andy Wilkinson
caf01d1f21 Revert "Make sure that spring-aop is available at test runtime"
This reverts commit 26707cd7ac.

See gh-411
2017-10-13 11:42:33 +01:00
Andy Wilkinson
3d7262ae46 Merge branch '1.2.x' 2017-10-12 10:37:05 +01:00
Andy Wilkinson
440997c72b Merge pull request #431 from Johnny Lim
* gh-431:
  Polish “Reuse ObjectMapper in FieldPathPayloadSubsectionExtractor”
  Reuse ObjectMapper in FieldPathPayloadSubsectionExtractor
2017-10-12 10:36:57 +01:00
Andy Wilkinson
0c8ec11c9c Polish “Reuse ObjectMapper in FieldPathPayloadSubsectionExtractor” 2017-10-12 10:36:23 +01:00
Johnny Lim
9bd9fa31dc Reuse ObjectMapper in FieldPathPayloadSubsectionExtractor
Closes gh-431
2017-10-12 10:33:40 +01:00
Andy Wilkinson
04632c24fb Merge branch '1.2.x' 2017-09-28 06:58:25 +01:00
Andy Wilkinson
d1881c30e2 Update the samples to use the latest snapshots 2017-09-28 06:57:44 +01:00