Commit Graph

780 Commits

Author SHA1 Message Date
Andy Wilkinson
9deae49795 Merge branch '1.2.x' 2018-11-01 07:04:45 +00:00
Andy Wilkinson
e23c6b45d4 Stop flagging documented field beneath option null field as missing
Closes gh-557
2018-11-01 07:03:29 +00:00
Andy Wilkinson
eedc69836e Merge pull request #561 from Mathias Düsterhöft
* gh-561:
  restdocs-openapi renamed to restdocs-api-spec
2018-11-01 06:53:23 +00:00
Mathias Düsterhöft
9aaf91f814 restdocs-openapi renamed to restdocs-api-spec
`restdocs-openapi` has been renamed to restdocs-api-spec and will offer support for more API specification formats soon.

`restdocs-raml` is no longer actively maintained and is archived.
2018-10-29 09:43:54 +01:00
Andy Wilkinson
24c1746b36 Merge branch '1.2.x' 2018-10-04 12:26:50 +01:00
Andy Wilkinson
eb03213e7a Merge pull request #550 from Mathias Düsterhöft
* gh-550:
  Configure Gradle caching for Travis CI builds
2018-10-04 12:26:42 +01:00
Mathias Düsterhöft
08296ea442 Configure Gradle caching for Travis CI builds
Closes gh-550
2018-10-04 12:26:17 +01:00
Andy Wilkinson
2b01f67c2a Merge pull request #546 from Mathias Düsterhöft
* gh-546:
  Add restdocs-openapi project reference
2018-10-03 17:55:56 +01:00
Mathias Düsterhöft
534ec6a5fb Add restdocs-openapi project reference
Closes gh-546
2018-10-03 17:55:18 +01:00
Andy Wilkinson
5d4cfb934a Merge branch '1.2.x' 2018-10-03 17:53:39 +01:00
Andy Wilkinson
c86f294548 Merge pull request #553 from VonUniGE
* gh-553:
  Correct default output directory in ManualRestDocumentation javadoc
2018-10-03 17:52:58 +01:00
VonUniGE
1456c954ba Correct default output directory in ManualRestDocumentation javadoc
Closes gh-553
2018-10-03 17:52:47 +01:00
Andy Wilkinson
aad07f0ce6 Merge branch '1.2.x' 2018-08-16 20:48:34 +01:00
Andy Wilkinson
fbe33f0cbe Merge pull request #543 from Johnny Lim
* gh-543:
  Remove unused gradleWrapperVersion property
2018-08-16 20:48:30 +01:00
Johnny Lim
0984e14148 Remove unused gradleWrapperVersion property
Closes gh-543
2018-08-16 20:44:27 +01:00
Andy Wilkinson
887a1fc195 Merge branch '1.2.x' 2018-08-16 20:43:03 +01:00
Andy Wilkinson
fad2dff977 Merge branch '1.2.x' 2018-08-08 16:51:28 +01:00
Andy Wilkinson
57905d2c1f Remove redundant mavenLocal repository declarations 2018-08-08 16:47:04 +01:00
Andy Wilkinson
244a734232 Adopt Spring Java Format for code formatting and style 2018-08-08 14:08:15 +01:00
Andy Wilkinson
ceb844183d Merge branch '1.2.x' 2018-08-08 12:27:43 +01:00
Andy Wilkinson
7431426cf3 Update tests to use AssertJ
Closes gh-537
2018-08-08 11:22:57 +01:00
Andy Wilkinson
9961c4e132 Merge branch '1.2.x' 2018-08-08 11:12:02 +01:00
Andy Wilkinson
c19b2924f4 Remove redundant max perm size build configuration 2018-08-08 11:11:27 +01:00
Andy Wilkinson
b57ac051cd Merge branch '1.2.x' 2018-08-08 10:49:58 +01:00
Andy Wilkinson
81ef9f8a38 Upgrade to Gradle 4.9
Closes gh-541
2018-08-08 10:45:04 +01:00
Andy Wilkinson
6e7dc7c95f Merge branch '1.2.x' 2018-08-08 09:57:58 +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
26e5cddb45 Merge branch '1.2.x' 2018-08-01 14:15:02 +01:00
Andy Wilkinson
8bc5b4e27e Merge pull request #535 from Johnny Lim
* gh-535:
  Polish JsonContentHandler.isEmptyCollection()
2018-08-01 14:14:53 +01:00
Johnny Lim
7f86552670 Polish JsonContentHandler.isEmptyCollection()
Closes gh-535
2018-08-01 14:14:35 +01:00
Andy Wilkinson
8055319b89 Use Bean Validations @NotBlank rather than Hibernate Validator's
Closes gh-536
2018-08-01 14:12:40 +01:00
Andy Wilkinson
2ae5f0d936 Merge pull request #532 from Nik Gorylenko
* gh-532:
  Polish "Move away from deprecated RestAssuredPreprocessors.modifyUris()"
  Move away from deprecated RestAssuredPreprocessors.modifyUris()
2018-08-01 14:08:33 +01:00
Andy Wilkinson
857e29a3c9 Polish "Move away from deprecated RestAssuredPreprocessors.modifyUris()"
See gh-532
2018-08-01 14:01:10 +01:00
Nik Gorylenko
d8070aed46 Move away from deprecated RestAssuredPreprocessors.modifyUris()
Closes gh-532
2018-08-01 13:59:59 +01:00
Andy Wilkinson
824e8d6ddf Merge branch '1.2.x' 2018-08-01 12:00:03 +01:00
Andy Wilkinson
1d52ba86a0 Merge pull request #530 from Johnny Lim
* gh-530:
  Polish "Consistently use ID-based equality check for TemplateFormat"
  Consistently use ID-based equality check for TemplateFormat
2018-08-01 11:51:23 +01:00
Andy Wilkinson
d57fa02254 Polish "Consistently use ID-based equality check for TemplateFormat" 2018-08-01 11:47:49 +01:00
Johnny Lim
d05f6cdb6a Consistently use ID-based equality check for TemplateFormat
Closes gh-530
2018-08-01 11:43:52 +01:00
Andy Wilkinson
5bc873810c Merge branch '1.2.x' 2018-08-01 11:39:24 +01:00
Andy Wilkinson
93cb08a4cc Merge pull request #534 from Johnny Lim
* gh-534:
  Polish
2018-08-01 11:37:49 +01:00
Johnny Lim
5a8fe2f100 Polish
Closes gh-534
2018-08-01 11:37:07 +01:00
Andy Wilkinson
5f10e01465 Merge branch '1.2.x' 2018-07-19 16:57:50 +01:00
Andy Wilkinson
6d6909bfeb Update the samples to use 2.0.3 snapshots 2018-07-19 16:57:38 +01:00
Spring Buildmaster
d0367643f4 Next development version 2018-07-19 13:52:50 +00:00
Andy Wilkinson
8bb460170c Update the samples to use 1.2.6 snapshots 2018-07-19 12:51:24 +01:00
Spring Buildmaster
589a89fbcb Next development version 2018-07-19 11:18:16 +00:00
Andy Wilkinson
71d53664bb Merge branch '1.2.x' 2018-07-19 11:19:22 +01:00
Andy Wilkinson
81b55d470b Refine missing field detection logic for paths with multiple arrays
Previously, missing field detection worked correctly for paths
containing a single array, but if the path contained multiple arrays
the extracted value would be a list containing a single empty list.
In this case the field would not be considered missing when, in fact
it should have been.

This commit updates the missing field detection logic to recursively
examine the extracted value and, when it's a collection, the values
that it contains. As a result, a field will be considered to be
missing if it isn't present, if it's an empty collection, or if it's
a collection that only contains empty collections or, to any depth,
collections of empty collections.

Closes gh-519
2018-07-19 11:11:38 +01:00
Andy Wilkinson
47fe048693 Merge branch '1.2.x' 2018-07-16 17:10:08 +01:00
Andy Wilkinson
001fb388b0 Merge pull request #525 from Johnny Lim
* gh-525:
  Remove unnecessary FieldDoesNotExistException handling
2018-07-16 17:06:32 +01:00