Commit Graph

957 Commits

Author SHA1 Message Date
Andy Wilkinson
78fdf43f7c Polish gradle.properties 2021-01-08 10:41:07 +00:00
Andy Wilkinson
526fe9a38f Merge pull request #700 from ahus1
* gh-700:
  Fix "included in the package" cross-reference

Closes gh-700
2020-11-13 14:53:30 +00:00
Alexander Schwartz
110e7305ac Fix "included in the package" cross-reference
See gh-700
2020-11-13 14:51:57 +00:00
Andy Wilkinson
de7b151329 Merge pull request #699 from ahus1
* gh-699:
  Provide context when logging warnings in operation macro

Closes gh-699
2020-11-13 14:50:43 +00:00
Alexander Schwartz
2cf5919632 Provide context when logging warnings in operation macro
See gh-699
2020-11-13 14:50:29 +00:00
Andy Wilkinson
0d8eb26ce0 Use DefaultPartHttpMessageReader with Framework 5.3
Closes gh-703
2020-11-13 14:34:28 +00:00
Andy Wilkinson
562fd9f1c4 Update the samples to use 2.0.6 snapshots 2020-09-16 18:19:10 +01:00
Spring Buildmaster
9817710044 Next development version 2020-09-16 15:29:19 +00:00
Andy Wilkinson
ed5921fe83 Ensure that UTF-8 is used to read and write snippets in operation macro
Fixes gh-696
2020-09-14 14:40:56 +01:00
Andy Wilkinson
3161f10b51 Start testing against Spring Framework 5.3
Closes gh-695
2020-09-02 11:17:22 +01:00
Andy Wilkinson
a1a2271133 Test Asciidoctor extension against AsciidoctorJ 2.2, 2.3, and 2.4
Closes gh-694
2020-09-02 11:13:06 +01:00
Andy Wilkinson
9fa94022d2 Upgrade Slate sample to Slate 2.7.1
Closes gh-693
2020-09-02 10:56:05 +01:00
Andy Wilkinson
536e87acc9 Fix kebab and snake case formatting of all upper case words
Closes gh-658
2020-09-01 16:28:03 +01:00
Andy Wilkinson
baaf4f2e05 Update query string when modifying GET request's parameters
Fixes gh-682
2020-09-01 15:35:17 +01:00
Andy Wilkinson
d62ee4f849 Merge pull request #676 from bric3
* gh-676:
  Polish "Propagate ignoreUndocumentedParamteres with .and()"
  Propagate ignoreUndocumentedParamteres with .and()

Closes gh-676
2020-09-01 13:55:32 +01:00
Andy Wilkinson
ffe4c93c38 Polish "Propagate ignoreUndocumentedParamteres with .and()"
See gh-676
2020-09-01 13:55:12 +01:00
Brice Dutheil
eac7d67c4e Propagate ignoreUndocumentedParamteres with .and()
See gh-676
2020-09-01 13:54:54 +01:00
Andy Wilkinson
b02fcbee6a Default to UTF-8 when reading operation content as a string
Fixes gh-689
2020-09-01 13:37:13 +01:00
Andy Wilkinson
9162888f1b Read snippet templates as UTF-8 by default
Fixes gh-585
2020-09-01 13:30:42 +01:00
Andy Wilkinson
c203710ae9 Merge pull request #690 from m-schroeer
* gh-690:
  Fix descries -> describes typo in the reference docs

Closes gh-690
2020-08-24 16:58:31 +01:00
M Schröer
323cec4527 Fix descries -> describes typo in the reference docs
See gh-690
2020-08-24 16:57:51 +01:00
Andy Wilkinson
7a1a989765 Expand and update REST Assured compatibility testing
Closes gh-688
2020-07-13 10:53:28 +01:00
Andy Wilkinson
a9c4732a83 Update javadoc to be Java 11 compatible
Closes gh-687
2020-06-08 16:40:48 +01:00
Andy Wilkinson
0146f1a8ca Fix handling of parameters when documenting non-GET requests
Fixes gh-683
2020-05-06 13:35:19 +01:00
Andy Wilkinson
f5dda622d0 Merge pull request #679 from progresivoJS
* gh-679:
  Fix a typo in getting started reference documentation

Closes gh-679
2020-04-09 08:40:43 +01:00
jinseong.hwang
3fc8780dfc Fix a typo in getting started reference documentation
See gh-679
2020-04-09 08:40:08 +01:00
Andy Wilkinson
513a0e9172 Tolerate breaking change in MockHttpServletRequestBuilder
Closes gh-675
2020-03-27 16:19:06 +00:00
Andy Wilkinson
22c6475dd1 Merge pull request #673 from luvarqpp
* gh-673:
  Polish "Add snapshot plugin repository to Data REST sample"
  Add snapshot plugin repository to Data REST sample

Closes gh-673
2020-03-27 15:49:34 +00:00
Andy Wilkinson
eb0aaf389b Polish "Add snapshot plugin repository to Data REST sample"
See gh-673
2020-03-27 15:48:59 +00:00
luvarqpp
075f02d64c Add snapshot plugin repository to Data REST sample
See gh-673
2020-03-27 15:47:32 +00:00
Andy Wilkinson
e2e61dff53 Use snake_case consistently for anchors and cross-references
Closes gh-674
2020-03-27 15:44:59 +00:00
Andy Wilkinson
1ee96bbb76 Make tests tolerate varying presence of Content-Length header
In Framework 5.2, the Content-Length is now provided by MockMvc. In
earlier versions it is not. This commit updates the tests to tolerate
this difference in behaviour so that the compatibility tests pass
again.
2019-12-18 17:43:35 +00:00
Andy Wilkinson
d34a81ff19 Merge pull request #663 from daniel-shuy
* gh-663:
  Use @BeforeEach instead of @Before in JUnit 5 examples

Closes gh-663
2019-12-18 09:44:28 +00:00
Daniel Shuy
189d235c84 Use @BeforeEach instead of @Before in JUnit 5 examples
See gh-663
2019-12-18 09:44:03 +00:00
Andy Wilkinson
34a007c018 Merge pull request #656 from izeye
* gh-656:
  Upgrade the Spring Boot-based samples to 2.1.9.RELEASE

Closes gh-656
2019-10-25 11:46:02 +01:00
Johnny Lim
c34cdc65b1 Upgrade the Spring Boot-based samples to 2.1.9.RELEASE
See gh-656
2019-10-25 11:45:46 +01:00
Andy Wilkinson
5cee88c30d Merge pull request #654 from LichKing-lee
* gh-654:
  Polish "Mention WebTestClient in Gradle getting started example"
  Mention WebTestClient in Gradle getting started example

Closes gh-654
2019-10-24 10:17:14 +01:00
Andy Wilkinson
14149cb85f Polish "Mention WebTestClient in Gradle getting started example"
See gh-654
2019-10-24 10:16:48 +01:00
ChangYong
c8727a2188 Mention WebTestClient in Gradle getting started example
See gh-654
2019-10-24 10:16:43 +01:00
Andy Wilkinson
c7d15a0b44 Merge pull request #653 from flo076
* gh-653:
  Polish "Fix NPE in HttpResponseSnippet when response has custom status"
  Fix NPE in HttpResponseSnippet when response has custom status

Closes gh-653
2019-10-22 10:09:28 +01:00
Andy Wilkinson
d925a9f219 Polish "Fix NPE in HttpResponseSnippet when response has custom status"
See gh-653
2019-10-22 10:09:20 +01:00
Florian Ferreira
aee641b642 Fix NPE in HttpResponseSnippet when response has custom status
See gh-653
2019-10-22 10:07:41 +01:00
Andy Wilkinson
bb7aecbfe5 Fix problem with operation block macro when using leveloffset
Previously, when a document had a leveloffset attribute this was
included in the attributes used when loading a snippet in the
operation block macro. This could lead to warnings about section
titles being out of sequence as the level used for the title did not
take the leveloffset into consideration.

This commit clones the documents attributes and removes any
leveloffset attribute before loading a snippet. This removes the
need for the leveloffset to be considered when loading a snippet
fragment. As before, the level of each block in the fragment loaded
from snippet is then set prior to adding the block to the main
document. This takes the leveloffset into consideration.

Closes gh-649
2019-10-17 15:40:52 +01:00
Andy Wilkinson
835f0d3a43 Merge pull request #651 from izeye
* gh-651:
  Remove accidental characters in sample's pom.xml

Closes gh-651
2019-10-17 12:07:54 +01:00
Johnny Lim
4fb27dbc9f Remove accidental characters in sample's pom.xml
See gh-651
2019-10-17 12:07:41 +01:00
Andy Wilkinson
97ddf3dcec Fix handling of empty querty string parameters
Previously empty parameters in a query string were handled
inconsistently such that they sometimes had a value of "" in a list
and sometimes were represented as an empty list. This inconsistency
lead to the parameter appearing twice in the cURL request snippet.

This commit removes the inconsistency by always using an empty string
to represent an empty query parameter value.

Fixes gh-647
2019-10-04 18:34:56 +01:00
Andy Wilkinson
92926d65bc Update the samples to use 2.0.5 snapshots 2019-10-04 18:34:42 +01:00
Spring Buildmaster
79fce0c0d7 Next development version 2019-09-30 08:24:32 +00:00
Andy Wilkinson
816987824c Ensure that spring-restdocs-asciidoctor pom contains name and description 2019-09-30 09:04:09 +01:00
Andy Wilkinson
e66c1f4c08 Fix generation of javadoc for the documentation zip 2019-09-29 19:48:11 +01:00