Skip to content

Commit c4e2e43

Browse files
committed
update readme to reflect JSON class pr zipmark#359
1 parent 117b82d commit c4e2e43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Consider adding a viewer to enhance the generated documentation. By itself rspec
6868

6969
```ruby
7070
RspecApiDocumentation.configure do |config|
71-
config.format = :json
71+
config.format = :JSON
7272
end
7373
```
7474

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

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

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

251251
# Change how the response body is formatted by default

0 commit comments

Comments
 (0)