Commit Graph

656 Commits

Author SHA1 Message Date
Andy Wilkinson
a07e7442af Merge branch '1.1.x' into 1.2.x 2019-03-19 11:50:13 +00:00
Andy Wilkinson
913fcd2185 Merge branch '1.0.x' into 1.1.x 2019-03-19 11:48:52 +00:00
Andy Wilkinson
81a07d4951 Use HTTPS linked in the README 2019-03-19 11:44:44 +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
Andy Wilkinson
e76b700090 Merge pull request #596 from Spring Operator
* gh-596:
  Update build configuration to prefer HTTPS

Closes gh-596
2019-03-19 10:56:15 +00:00
Spring Operator
1572be5b29 Update build configuration to prefer HTTPS
See gh-596
2019-03-19 10:54:24 +00:00
Andy Wilkinson
b31db7ff55 Merge pull request #595 from Clyde Stubbs
* gh-595:
  Polish "Fix links to ignored() in RequestDocumentation's javadoc"
  Fix links to ignored() in RequestDocumentation's javadoc

Closes gh-595
2019-03-13 09:33:04 +00:00
Andy Wilkinson
874ebba73d Polish "Fix links to ignored() in RequestDocumentation's javadoc"
See gh-595
2019-03-13 09:31:35 +00:00
clydebarrow
2f12c2de6a Fix links to ignored() in RequestDocumentation's javadoc
See gh-595
2019-03-13 09:27:42 +00:00
Andy Wilkinson
91653a300a Set Javadoc and JavaCompile encoding to UTF-8
Closes gh-593
2019-03-13 09:24:54 +00:00
Andy Wilkinson
c9db399713 Update the samples to use 1.2.7 snaphots 2018-12-10 12:21:06 +00:00
Spring Buildmaster
c467b02c8a Next development version 2018-12-10 12:14:30 +00:00
Andy Wilkinson
71198a402a Maintain formatting during subsection extraction
Closes gh-466
2018-11-22 11:33:34 +00:00
Andy Wilkinson
9e1ba8a922 Improve beneathPath to work with multiple matches with common structure
Closes gh-473
2018-11-22 11:00:23 +00:00
Andy Wilkinson
5b493977cc Update Slate sample's dependencies
Closes gh-563
2018-11-21 16:33:33 +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
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
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
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
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
7431426cf3 Update tests to use AssertJ
Closes gh-537
2018-08-08 11:22:57 +01:00
Andy Wilkinson
c19b2924f4 Remove redundant max perm size build configuration 2018-08-08 11:11:27 +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
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
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
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
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
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
001fb388b0 Merge pull request #525 from Johnny Lim
* gh-525:
  Remove unnecessary FieldDoesNotExistException handling
2018-07-16 17:06:32 +01:00
Johnny Lim
5ace000c75 Remove unnecessary FieldDoesNotExistException handling
Previously, FieldDoesNotExistException was caught when extracting
a field to determine whether or not it is missing (absent or an
empty collection). The handling is redundant due to an earlier call
to hasField so this commit removes it.

Closes gh-525
2018-07-16 16:09:47 +01:00
Andy Wilkinson
02e842dc89 Merge pull request #526 from Johnny Lim
* gh-526:
  Polish "Remove redundant static modifier for enums"
  Remove redundant static modifier for enums
2018-07-16 16:05:22 +01:00
Andy Wilkinson
cae53fdf3c Polish "Remove redundant static modifier for enums"
See gh-526
2018-07-16 16:05:02 +01:00
Johnny Lim
559357e211 Remove redundant static modifier for enums
Closes gh-526
2018-07-16 16:03:36 +01:00
Andy Wilkinson
a2a9a7cb0f Stop type determination from changing descriptor's type
Previously, when a field's type was automatically determined, the
type of the passed-in descriptor was changed. This could cause
problems if the descriptor was reused in another test.

This commit updates AbstractFieldsSnippet to create a copy of each
descriptor so that setting the determined type does not affect the
type of the original descriptor.

Closes gh-511
2018-07-16 15:50:34 +01:00
Andy Wilkinson
920ced0755 Preserve cookies when preprocessing a request to modify its URIs
Closes gh-523
2018-07-16 10:48:50 +01:00
Andy Wilkinson
e14bda0893 Disable interpolation of Asciidoctor path parameter table's title
Previously, when generating Asciidoctor snipppets, the title of the
path parameter table was interpolated. The title of the table is the
path including its parameters. The parameters are typically surrounded
by { and }. This is the same syntax used for attributes in
Asciidoctor. With interpolation enabled this caused Asciidoctor to
interpret the parameter as an attribute reference and attempt to
replace it. This would either result in unwanted replacement of the
parameter with the value of the attribute or it would result in a
warning about a missing attribute.

This commit surrounds the title of the table with + characters. This
disables all interpolation for the title, thereby preventing
unwanted replacement or attempted replacement of the path's
parameters.

Closes gh-527
2018-07-16 10:30:14 +01:00