Skip to content
Closed
Changes from all commits
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Consider adding a viewer to enhance the generated documentation. By itself rspec

```ruby
RspecApiDocumentation.configure do |config|
config.format = :json
config.format = :JSON
end
```

Expand Down Expand Up @@ -188,7 +188,7 @@ RspecApiDocumentation.configure do |config|
config.docs_dir = Rails.root.join("doc", "api")

# An array of output format(s).
# Possible values are :json, :html, :combined_text, :combined_json,
# Possible values are :JSON, :html, :combined_text, :combined_json,
# :json_iodocs, :textile, :markdown, :append_json, :slate,
# :api_blueprint, :open_api
config.format = [:html]
Expand Down Expand Up @@ -245,7 +245,7 @@ RspecApiDocumentation.configure do |config|
end

# Change how the post body is formatted by default, you can still override by `raw_post`
# Can be :json, :xml, or a proc that will be passed the params
# Can be :JSON, :xml, or a proc that will be passed the params
config.request_body_formatter = Proc.new { |params| params }

# Change how the response body is formatted by default
Expand Down