Commit Graph

88 Commits

Author SHA1 Message Date
Alexander Schwartz
4a084b52d0 Fix IDs of sections in examples
See gh-629
2019-08-13 10:16:16 +01:00
Andy Wilkinson
6da597b0fd Merge branch '1.2.x' 2019-06-12 10:28:01 +01:00
Kirill Gavrilov
c9837c645f Fix lack of syntax highlighting when using Maven
See gh-620
2019-06-12 10:16:58 +01:00
Andy Wilkinson
d9fe25b6ec Merge branch '1.2.x' 2019-06-10 10:39:31 +01:00
Andy Wilkinson
f1eaf0c91a Add NoHTTP to the build 2019-06-10 10:38:22 +01:00
Andy Wilkinson
32c92bf885 Merge branch '1.2.x' 2019-03-26 12:11:10 +00:00
Andy Wilkinson
c2c4ed7752 Merge branch '1.1.x' into 1.2.x 2019-03-26 11:45:06 +00:00
Andy Wilkinson
9444083b81 Polish "Use HTTPS for external links where possible"
See gh-610
2019-03-26 11:28:57 +00:00
Andy Wilkinson
2cfe47a330 Merge branch '1.0.x' into 1.1.x 2019-03-26 10:53:52 +00:00
Andy Wilkinson
447cc4940e Polish "Use HTTPS for external links where possible"
See gh-609
2019-03-26 10:49:19 +00:00
Spring Operator
f2e60ea347 Use HTTPS for external links where possible
See gh-609
2019-03-26 10:28:47 +00:00
Andy Wilkinson
09a4323ed5 Merge branch '1.2.x' 2019-03-19 11:42:23 +00:00
Andy Wilkinson
3282a798cb Merge branch '1.1.x' into 1.2.x 2019-03-19 11:35:06 +00:00
Andy Wilkinson
f7e61013bb Merge branch '1.0.x' into 1.1.x 2019-03-19 11:24:34 +00:00
Andy Wilkinson
75132b537a Use HTTPS to link to Apache license 2019-03-19 11:21:34 +00:00
Andy Wilkinson
09c55cb1d3 Merge branch '1.2.x' 2019-03-19 11:00:05 +00:00
Andy Wilkinson
b9367a10c8 Merge branch '1.1.x' into 1.2.x 2019-03-19 10:58:58 +00:00
Andy Wilkinson
c0fb578f84 Merge branch '1.0.x' into 1.1.x 2019-03-19 10:57:43 +00:00
Spring Operator
1572be5b29 Update build configuration to prefer HTTPS
See gh-596
2019-03-19 10:54:24 +00:00
Spring Operator
e23cfc6f3e Use SSL for all HTTP URLs
See gh-591
2019-03-08 15:29:46 +00:00
Andy Wilkinson
9ae2448790 Update Spring Boot-based samples to 2.1.3
Closes gh-586
2019-02-21 10:29:01 +00:00
Andy Wilkinson
bc02ee0c1c Update the samples to use 2.0.4 snapshots 2018-12-10 13:41:59 +00:00
Andy Wilkinson
c9db399713 Update the samples to use 1.2.7 snaphots 2018-12-10 12:21:06 +00:00
Andy Wilkinson
6d6909bfeb Update the samples to use 2.0.3 snapshots 2018-07-19 16:57:38 +01:00
Andy Wilkinson
8bb460170c Update the samples to use 1.2.6 snapshots 2018-07-19 12:51:24 +01:00
Andy Wilkinson
cafd526d86 Update the samples to build against 2.0.2 samples 2018-04-23 17:52:47 +01:00
Andy Wilkinson
a2b62e025a Update samples to use 1.2.5 snapshots 2018-04-04 10:55:02 +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
874bfd119e Update samples to use 1.2.4 snapshots 2017-11-28 09:23:03 +00:00
Andy Wilkinson
bd3d253a2c Upgrade samples to use 2.0.1 snapshots 2017-11-28 08:55:46 +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
d1881c30e2 Update the samples to use the latest snapshots 2017-09-28 06:57:44 +01:00
Andy Wilkinson
41d537d06a Raise the minimum supported version of Spring Framework to 5.0
This commit upgrades to Spring Framework 5.0.0.RC1. It also upgrades
the Spring Boot-based samples to use Spring Boot 2.0.0.M1 which
supports Spring Framework 5. Lastly, it upgrades a number of
third-party dependencies to align with Spring Framework 5 and Spring
Boot 2.

Closes gh-386
2017-05-18 16:46:03 +02:00
Andy Wilkinson
a8e1df3fd8 Raise the minimum support version of Java to 8
Closes gh-388
2017-05-18 16:45:27 +02:00
Andy Wilkinson
ce8a296df0 Start work on 2.0 2017-05-16 16:12:02 +01:00
Andy Wilkinson
56a0495288 Update the samples to use the latest snapshots 2017-05-12 20:10:47 +01:00
Andy Wilkinson
bd63fae662 Update dependency versions in the samples to use latest snapshots 2017-05-12 12:39:14 +01:00
Andy Wilkinson
88db798b25 Update the dependency versions in the samples to use latest snapshots 2017-05-12 12:35:05 +01:00
Gerrit Meier
419547dcdf Add plugin snapshot repository to Data REST sample
Previously, if the main project hadn't been installed in the local
Maven repository (./gradlew install), rest-notes-spring-data-rest
would fail to build as the plugin dependency,
spring-restdocs-asciidoctor, was not available.

This commit corrects the problem by adding
repo.spring.io/libs-snapshot as a plugin repository in addition to
its existing declaration as a "normal" repository.

Fixes gh-382
Closes gh-383
2017-04-24 13:08:53 +01:00
Andy Wilkinson
1e2f2fdd35 Upgrade Spring Boot-based samples to use 1.5.3.RELEASE
Closes gh-358
2017-04-24 12:59:50 +01:00
Andy Wilkinson
af0cd029c7 Ensure that samples' REST Docs version is updated before they are built 2017-03-24 14:42:09 +00:00
Johnny Lim
39fabc28d4 Fix typo in value of snippets attribute
Closes gh-369
2017-03-20 09:26:42 +00:00
Andy Wilkinson
58bf231c8a Update the samples to use the new operation macro
Closes gh-362
2017-03-08 12:22:00 +00:00
Andy Wilkinson
1393182182 Upgrade Spring Boot-based samples and integration tests to use 1.4
Closes gh-327
2016-10-28 21:25:30 +01:00
Andy Wilkinson
cbd96f301d Update field snippets to no longer document whole subsection by default
Previously, when a field was documented it would implicitly document
the whole subsection of the payload identified by that field. This
could lead to users inadvertently failing to document part of the
payload. Arguably, this was a bug as it violated REST Docs' principle
of producing accurate, detail documentation. However, fixing it
requires a breaking change as people may also be relying on this
behaviour. A balance needed to be struck so the fix is being made in
a minor release.

This commit introduces a new subsectionWithPath method which returns a
SubsectionDescriptor; a specialisation of FieldDescriptor. Users
that were intentionally relying on the old behaviour will have to
replace some usage of fieldWithPath with subsectionWithPath instead.
Users who were unintentionally relying on the old behaviour will have
to add some additional descriptors produced using fieldWithPath and
will receive more accurate documentation in return.

Closes gh-274
2016-10-28 16:12:07 +01:00
Andy Wilkinson
319bd139fc Polish contribution and rework to use default attribute rather than macro
Rather than introducing a custom macro, this commit opts to implicitly
configure the snippets attribute instead. The attribute is configured
will the path into which snippets are generated, relative to the
directory that contains the Asciidoctor document that is being
rendered.

The samples and documentation have been updated to use the new
spring-restdocs-asciidoctor module and the implicitly configured
snippets attribute.

Closes gh-297
2016-10-21 22:42:11 +01:00
Gerrit Meier
3ac4a1acad Provide a default output directory for snippets based on build tool
Rather than requiring an output directory to be explcitly configured,
a default is now automatically configured based on the build tool
that's being used. When using Gradle, snippets will be generated in
build/generated-snippets. When using Maven, snippets will be
generated in target/generated-snippets.

See gh-297
2016-10-21 22:26:58 +01:00
Andy Wilkinson
f2717363f0 Raise the minimum Spring Framework version to 4.3.x
Closes gh-284
2016-07-26 12:09:20 +01:00
Andy Wilkinson
2db7ab5e71 Start work on 1.2.0 2016-07-25 11:08:36 +01:00
Andy Wilkinson
d919238023 Update the samples following the release of 1.1.1.RELEASE 2016-07-25 11:06:49 +01:00