Skip to content

Commit 25ee8b9

Browse files
committed
Include new curl filter option in README
1 parent 4858b5a commit 25ee8b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ RspecApiDocumentation.configure do |config|
9797

9898
# Used when adding a cURL output to the docs
9999
config.curl_host = nil
100+
101+
# Used when adding a cURL output to the docs
102+
# Allows you to filter out headers that are not needed in the cURL request,
103+
# such as "Host" and "Cookie". Set as an array.
104+
config.curl_headers_to_filter = nil
100105

101106
# By default examples and resources are ordered by description. Set to true keep
102107
# the source order.

0 commit comments

Comments
 (0)