Commit Graph

350 Commits

Author SHA1 Message Date
Andy Wilkinson
d5522f5335 Polish "Add support for documenting request and response cookies"
See gh-592
2022-07-18 14:46:26 +01:00
clydebarrow
f72a9f1067 Add support for documenting request and response cookies
See gh-592
2022-07-18 11:16:16 +01:00
Andy Wilkinson
aa9cef9f02 Polish "Specify language derived from Content-Type in body snippets"
See gh-797
2022-07-15 15:47:31 +01:00
Achim Grimm
9a44205253 Specify language derived from Content-Type in body snippets
See gh-797
2022-07-15 15:46:31 +01:00
Andy Wilkinson
58bc758c37 Merge branch '2.0.x' 2022-07-15 12:52:41 +01:00
Andy Wilkinson
b872fc8123 Only wrap non-RuntimeExceptions
See gh-828
2022-07-15 12:52:19 +01:00
Andy Wilkinson
b4fd66ff9b Merge branch '2.0.x'
Closes gh-829
2022-07-15 12:43:51 +01:00
Andy Wilkinson
ebe70a91c7 Remove redundant throws declarations from non public API
Closes gh-828
2022-07-15 12:38:25 +01:00
Andy Wilkinson
ef6aa137e0 Merge branch '2.0.x'
Closes gh-826
2022-07-15 11:23:51 +01:00
Andy Wilkinson
5be36f5e9e Merge branch '2.0.x' 2022-06-20 20:44:07 +01:00
Andy Wilkinson
f6f45caf5c Merge branch '2.0.x' 2022-06-20 16:40:06 +01:00
Andy Wilkinson
36418f47d7 Polish "Provide a preprocessor for modifying request and response headers"
See gh-584
2022-05-12 14:51:08 +01:00
Jihoon Cha
768a43a61e Provide a preprocessor for modifying request and response headers
See gh-584
2022-05-12 14:51:04 +01:00
Andy Wilkinson
400bf8c7d8 Merge branch '2.0.x' 2022-03-24 15:14:16 +00:00
Andy Wilkinson
8ee41a21f1 Fix modification of portless URIs when content has subsequent colon
Closes gh-790
2022-03-24 15:01:12 +00:00
Andy Wilkinson
4cf5892015 Remove deprecated code
Closes gh-781
2022-01-17 13:44:14 +00:00
Andy Wilkinson
b74462155b Merge branch '2.0.x' 2022-01-13 12:37:09 +00:00
Andy Wilkinson
b40f0f6740 Removing remaining usage of Hamcrest from tests
Closes gh-776
2022-01-13 12:23:52 +00:00
Andy Wilkinson
d1c0ccc331 Merge branch '2.0.x' 2022-01-12 13:30:24 +00:00
Andy Wilkinson
aa020db396 Remove unused optional dependency on commons-codec 2022-01-12 13:14:00 +00:00
Andy Wilkinson
c60c87a2b1 Merge branch '2.0.x' 2022-01-10 14:32:51 +00:00
Andy Wilkinson
d4d83f293a Fix HTTP request snippet's handling of query strings and params
Closes gh-763
2022-01-10 14:31:03 +00:00
Andy Wilkinson
8f8b118411 Merge branch '2.0.x' 2022-01-10 13:40:00 +00:00
Andy Wilkinson
90e0721b7a Use --multipart for HTTPie multipart requests
Previously --form was ussed which relied on a file part turning the
request into a --multipart one. Switching to --multipart makes the
intent of the request more clear and also simplifies sending parts
that aren't file-based.

Closes gh-771
2022-01-10 13:37:25 +00:00
Andy Wilkinson
a6687cf488 Merge branch '2.0.x' 2022-01-10 13:16:32 +00:00
Andy Wilkinson
a63a514193 Avoid duplicates in multipart reqs with overlapping parts and params
Fixes gh-746
2022-01-10 13:16:01 +00:00
Andy Wilkinson
42e84d1db3 Polish "Fix typo in OperationResponseFactory Javadoc"
See gh-765
2022-01-04 11:49:26 +00:00
izeye
a6a7a93179 Fix typo in OperationResponseFactory Javadoc
See gh-765
2022-01-04 11:49:07 +00:00
Andy Wilkinson
429d6da222 Merge branch '2.0.x' 2021-11-17 19:19:00 +00:00
Andy Wilkinson
36358244ca Avoid possible NPE in JsonFieldPaths
See gh-715
2021-11-17 19:18:42 +00:00
Andy Wilkinson
da98852d53 Upgrade to Spring Java Format 0.0.29 2021-11-17 11:18:00 +00:00
Andy Wilkinson
4223f70102 Upgrade to Spring Framework 6 and Jakarta EE 9
Closes gh-750
Closes gh-748
2021-11-17 11:18:00 +00:00
Andy Wilkinson
68ff043fb3 Raise the minimum supported version of Java to 17
Closes gh-749
2021-11-17 11:18:00 +00:00
Andy Wilkinson
ea3ac32701 Make use of Gradle's support for test fixtures
Closes gh-756
2021-09-28 10:08:24 +01:00
Andy Wilkinson
88fe8a6f13 Stop pretty printing from truncating content starts as valid JSON
Fixes gh-730
2021-06-15 11:37:29 +01:00
Andy Wilkinson
bf1bfc4075 Fix optional dependencies having compile scope in poms
Closes gh-729
2021-06-15 10:59:25 +01:00
Andy Wilkinson
6c0960d304 Polish "Improve exception message when subsection is empty array"
See gh-732
2021-06-14 21:12:45 +01:00
ddaaac
cbe6d775f3 Improve exception message when subsection is empty array
See gh-732
2021-06-14 21:12:32 +01:00
izeye
709e5f2e59 Add missing json() invocation in JsonFieldPathsTests
See gh-720
2021-05-21 18:12:20 +01:00
Andy Wilkinson
09b21a91ed Adopt compatibility testing plugin
Closes gh-728
2021-05-21 18:08:07 +01:00
Andy Wilkinson
2ead1fb0d8 Upgrade to Gradle 6.8 and modernize the build
Closes gh-719
2021-04-28 20:59:20 +01:00
Andy Wilkinson
2b5eab309c Improve error message when extracting a sometimes absent sub-section
Fixes gh-715
2021-04-19 14:18:47 +01:00
Andy Wilkinson
c3cb7af68a Preserve UTF-8 content when masking links in JSON payloads
Closes gh-705
2021-01-08 12:17:50 +00: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
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
a9c4732a83 Update javadoc to be Java 11 compatible
Closes gh-687
2020-06-08 16:40:48 +01:00