Skip to content

Commit 627a628

Browse files
committed
Table formatting?
1 parent cf34a66 commit 627a628

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/jsonapi/schema.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## JSON API Requests
44

5-
[Query Parameters Spec](http://jsonapi.org/format/#query-parameters)
5+
- [Query Parameters Spec](http://jsonapi.org/format/#query-parameters)
66

77
Headers:
88

@@ -65,22 +65,22 @@ Example supported requests
6565
| failure.errors | UniqueArray(error) | | #1004
6666
| meta | Object | |
6767
| data | oneOf (resource, UniqueArray(resource)) | | ActiveModel::Serializer::Adapter::JsonApi#serializable_hash_for_collection,#serializable_hash_for_single_resource
68-
| resource | String(type), String(id), attributes, relationships, links, meta | type, id | ActiveModel::Serializer::Adapter::JsonApi#primary_data_for
68+
| resource | String(type), String(id),<br>attributes, relationships,<br>links, meta | type, id | ActiveModel::Serializer::Adapter::JsonApi#primary_data_for
6969
| links | Uri(self), Link(related) | | #1028, #1246, #1282
7070
| link | oneOf (linkString, linkObject) | |
7171
| link.linkString | Uri | |
7272
| link.linkObject | Uri(href), meta | href |
73-
| attributes | patternProperites(`"^(?!relationships$|links$)\\w[-\\w_]*$"`), any valid JSON | | ActiveModel::Serializer#attributes, ActiveModel::Serializer::Adapter::JsonApi#resource_object_for
74-
| relationships | patternProperites(`"^\\w[-\\w_]*$"`); links, relationships.data, meta | | ActiveModel::Serializer::Adapter::JsonApi#relationships_for
73+
| attributes | patternProperties(<br>`"^(?!relationships$|links$)\\w[-\\w_]*$"`),<br>any valid JSON | | ActiveModel::Serializer#attributes, ActiveModel::Serializer::Adapter::JsonApi#resource_object_for
74+
| relationships | patternProperties(<br>`"^\\w[-\\w_]*$"`);<br>links, relationships.data, meta | | ActiveModel::Serializer::Adapter::JsonApi#relationships_for
7575
| relationships.data | oneOf (relationshipToOne, relationshipToMany) | | ActiveModel::Serializer::Adapter::JsonApi#resource_identifier_for
7676
| relationshipToOne | anyOf(empty, linkage) | |
7777
| relationshipToMany | UniqueArray(linkage) | |
7878
| empty | null | |
7979
| linkage | String(type), String(id), meta | type, id | ActiveModel::Serializer::Adapter::JsonApi#primary_data_for
80-
| pagination | pageObject(first), pageObject(last), pageObject(prev), pageObject(next) | | ActiveModel::Serializer::Adapter::JsonApi::PaginationLinks#serializable_hash
80+
| pagination | pageObject(first), pageObject(last),<br>pageObject(prev), pageObject(next) | | ActiveModel::Serializer::Adapter::JsonApi::PaginationLinks#serializable_hash
8181
| pagination.pageObject | oneOf(Uri, null) | |
8282
| jsonapi | String(version), meta | | ActiveModel::Serializer::Adapter::JsonApi::ApiObjects::JsonApi
83-
| error | String(id), links, String(status), String(code), String(title), String(detail), error.source, meta | |
83+
| error | String(id), links, String(status),<br>String(code), String(title),<br>String(detail), error.source, meta | |
8484
| error.source | String(pointer), String(parameter) | |
8585
| pointer | [JSON Pointer RFC6901](https://tools.ietf.org/html/rfc6901) | |
8686

0 commit comments

Comments
 (0)