Commit Graph

797 Commits

Author SHA1 Message Date
Andy Wilkinson
3d17cd70a2 Merge branch '1.2.x' 2018-12-10 12:23:58 +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
b10e87fcdb Merge pull request #565 from Johnny Lim
* gh-565:
  Update README link references so numbers are contiguous
2018-11-27 16:17:18 +00:00
Johnny Lim
1c941aaa55 Update README link references so numbers are contiguous
Closes gh-565
2018-11-27 16:16:27 +00:00
Andy Wilkinson
c006b062e8 Merge branch '1.2.x' 2018-11-22 12:13:59 +00:00
Andy Wilkinson
71198a402a Maintain formatting during subsection extraction
Closes gh-466
2018-11-22 11:33:34 +00:00
Andy Wilkinson
9851a7cd71 Merge branch '1.2.x' 2018-11-22 11:03:30 +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
c51893252f Merge branch '1.2.x' 2018-11-21 16:34:30 +00:00
Andy Wilkinson
5b493977cc Update Slate sample's dependencies
Closes gh-563
2018-11-21 16:33:33 +00:00
Andy Wilkinson
b694298720 Prepare for Asciidoctor Gradle Plugin 2.0 by looking for gradle-projectdir
Closes gh-562
2018-11-21 15:17:51 +00:00
Andy Wilkinson
1966640520 Only attempt parameter resolution in a test method context
Previously, RestDocumenationExtension would attempt parameter resolution
for any use RestDocumentationContextProvider. Due to the provider
being method-scoped, this could lead to a NullPointerException when
it was resolved in the context of a class.

This commit updates RestDocumentationExtension so that it only supports
parameter resolution for RestDocumentationContextProvider in the context
of a test method.

Closes gh-538
2018-11-21 15:03:48 +00:00
Andy Wilkinson
d7cb857d61 Merge pull request #549 from Mathias Düsterhöft
* gh-549:
  Polish "Provide a public API for resolving the type of a field"
  Provide a public API for resolving the type of a field
  Rework JsonFieldTypeResolver to only discover the field types
2018-11-21 14:28:09 +00:00
Andy Wilkinson
64ea9c29f5 Polish "Provide a public API for resolving the type of a field"
Closes gh-549
2018-11-21 14:22:20 +00:00
Mathias Düsterhöft
4453fde23c Provide a public API for resolving the type of a field
See gh-549
2018-11-21 14:22:20 +00:00
Andy Wilkinson
ada273ba9e Rework JsonFieldTypeResolver to only discover the field types
See gh-549
2018-11-21 14:22:20 +00:00
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