README.md in grape_fast_jsonapi-0.2.0 vs README.md in grape_fast_jsonapi-0.2.1
- old
+ new
@@ -15,11 +15,12 @@
### Tell your API to use Grape::Formatter::FastJsonapi
```ruby
class API < Grape::API
- format :json
+ content_type :jsonapi, "application/vnd.api+json"
formatter :json, Grape::Formatter::FastJsonapi
+ formatter :jsonapi, Grape::Formatter::FastJsonapi
end
```
### Use `render` to specify JSONAPI options