Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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.
  • Loading branch information
Chris Drane committed Jul 31, 2018
commit ab3c6b7e9192ae874b471a47befcd0ea89c4c9ac
2 changes: 1 addition & 1 deletion example/spec/acceptance_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'rspec_api_documentation/dsl'

RspecApiDocumentation.configure do |config|
config.format = [:open_api]
config.format = [:open_api, :html]
config.curl_host = 'http://localhost:3000'
config.api_name = "Example App API"
config.api_explanation = "API Example Description"
Expand Down