mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Use consistent capitalization for JSONAPI adapter references
This commit is contained in:
parent
4f72cc7d8c
commit
3733efaf99
@ -37,7 +37,7 @@ class Api::V1::UserSerializer < ActiveModel::Serializer
|
|||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
This will result in (example is in jsonapi adapter):
|
This will result in (example is in JSONAPI adapter):
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"data": {
|
"data": {
|
||||||
@ -69,7 +69,7 @@ class Api::V1::UserSerializer < ActiveModel::Serializer
|
|||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
This will result in (example is in jsonapi adapter):
|
This will result in (example is in JSONAPI adapter):
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"data": {
|
"data": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user