Skip to content

Commit ab3c6b7

Browse files
author
Chris Drane
committed
Add :html option to config.format in acceptance_helper
At present, only option is :open_api, but this does not produce output that is easily readable by user. When the problem with the :json option is fixed see issue #382 I suggest that :json option is added as well, users can see output using raddocs.
1 parent 0c3d328 commit ab3c6b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/spec/acceptance_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require 'rspec_api_documentation/dsl'
44

55
RspecApiDocumentation.configure do |config|
6-
config.format = [:open_api]
6+
config.format = [:open_api, :html]
77
config.curl_host = 'http://localhost:3000'
88
config.api_name = "Example App API"
99
config.api_explanation = "API Example Description"

0 commit comments

Comments
 (0)