You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/general/configuration_options.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@ The following configuration options can be set on `ActiveModel::Serializer.confi
9
9
## JSON API
10
10
11
11
-`jsonapi_resource_type`: Whether the `type` attributes of resources should be singular or plural. Possible values: `:singular, :plural`. Default: `:plural`.
12
-
-`jsonapi_include_toplevel_member`: Whether to include a [top level JSON API member](http://jsonapi.org/format/#document-jsonapi-object)
12
+
-`jsonapi_include_toplevel_object`: Whether to include a [top level JSON API member](http://jsonapi.org/format/#document-jsonapi-object)
13
13
in the response document.
14
14
Default: `false`.
15
-
- Used when `jsonapi_include_toplevel_member` is `true`:
15
+
- Used when `jsonapi_include_toplevel_object` is `true`:
16
16
-`jsonapi_version`: The latest version of the spec the API conforms to.
17
17
Default: `'1.0'`.
18
18
-`jsonapi_toplevel_meta`: Optional metadata. Not included if empty.
0 commit comments