Commit Graph

100 Commits

Author SHA1 Message Date
Spring Operator
cb5d7c2220 Use HTTPS for externals links where possible
See gh-611
2019-03-26 11:59:53 +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
Spring Operator
1fa4c293c6 Use HTTPS for external links where possible
See gh-610
2019-03-26 11:28:26 +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
e8e813c41e Merge branch '1.1.x' into 1.2.x 2019-03-26 10:08:46 +00:00
Spring Operator
c3890f9312 Use HTTPS where possible for external links in XML files
See gh-607
2019-03-26 10:05:27 +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
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
Andy Wilkinson
c9db399713 Update the samples to use 1.2.7 snaphots 2018-12-10 12:21:06 +00:00
Andy Wilkinson
5b493977cc Update Slate sample's dependencies
Closes gh-563
2018-11-21 16:33:33 +00:00
Johnny Lim
0984e14148 Remove unused gradleWrapperVersion property
Closes gh-543
2018-08-16 20:44:27 +01:00
Andy Wilkinson
7431426cf3 Update tests to use AssertJ
Closes gh-537
2018-08-08 11:22:57 +01:00
Andy Wilkinson
81ef9f8a38 Upgrade to Gradle 4.9
Closes gh-541
2018-08-08 10:45:04 +01:00
Andy Wilkinson
39a5198c3b Upgrade the Grails sample to Grails 3.3.x and Gradle 4.9
Closes gh-540
2018-08-08 09:57:15 +01:00
Andy Wilkinson
8bb460170c Update the samples to use 1.2.6 snapshots 2018-07-19 12:51:24 +01:00
Andy Wilkinson
1e35e8279c Polish Slate sample's README 2018-04-24 08:35:13 +01:00
Andy Wilkinson
a2b62e025a Update samples to use 1.2.5 snapshots 2018-04-04 10:55:02 +01:00
Andy Wilkinson
874bfd119e Update samples to use 1.2.4 snapshots 2017-11-28 09:23:03 +00:00
Andy Wilkinson
d1881c30e2 Update the samples to use the latest snapshots 2017-09-28 06:57:44 +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
Andy Wilkinson
14da4b954a Upgrade main build and Gradle-based samples to Gradle 3.4.1 2017-03-23 11:59:13 +00:00
Andy Wilkinson
78982cf515 Add support for REST Assured 3
Closes gh-262
2017-03-20 21:39:25 +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
ca86e3ad8c Upgrade Slate sample to Slate 1.5
Closes gh-361
2017-03-04 22:13:46 +00:00
Andy Wilkinson
3a0f4ab68e Fix the Slate sample's tests
Closes gh-339
2017-03-04 21:43:12 +00:00
Andy Wilkinson
31ad4b40a0 Upgrade the Grails sample to Grails 3.2.6
Closes gh-357
2017-03-03 16:57:55 +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
65571d98dd Revert "Upgrade to Gradle 2.14.1"
This reverts commit 5c74bef194 and
commit 10e421a105.

See gh-283
2016-07-25 18:01:55 +01:00
Andy Wilkinson
10e421a105 Upgrade the samples that use Gradle to 2.14.1 as well
See gh-283
2016-07-25 15:39:12 +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
Andy Wilkinson
6c6054178e Upgrade tests and samples to use Spring Boot 1.3.6.RELEASE 2016-07-22 14:41:45 +01:00
Jennifer Strater
42613bf3f9 Add README to Grails sample
Closes gh-254
Closes gh-268
2016-06-27 16:25:04 +01:00