File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ Returns:
280280 "relationships" : {
281281 "author" : {
282282 "links" : {
283- "self" : " /posts/1/links /author" ,
283+ "self" : " /posts/1/relationships /author" ,
284284 "related" : " /posts/1/author"
285285 },
286286 "data" : {
@@ -290,7 +290,7 @@ Returns:
290290 },
291291 "comments" : {
292292 "links" : {
293- "self" : " /posts/1/links /comments" ,
293+ "self" : " /posts/1/relationships /comments" ,
294294 "related" : " /posts/1/comments"
295295 },
296296 "data" : [
@@ -326,7 +326,7 @@ Returns:
326326 "relationships" : {
327327 "user" : {
328328 "links" : {
329- "self" : " /comments/1/links /user" ,
329+ "self" : " /comments/1/relationships /user" ,
330330 "related" : " /comments/1/user"
331331 },
332332 "data" : {
@@ -336,7 +336,7 @@ Returns:
336336 },
337337 "post" : {
338338 "links" : {
339- "self" : " /comments/1/links /post" ,
339+ "self" : " /comments/1/relationships /post" ,
340340 "related" : " /comments/1/post"
341341 }
342342 }
434434
435435## Release notes
436436
437+ * v0.2.1: Compliance fix for self links.
437438* v0.2.0: Initial release with support for the final v1 JSON API spec.
438439
439440## Contributing
Original file line number Diff line number Diff line change 11module JSONAPI
22 module Serializer
3- VERSION = '0.2.0 '
3+ VERSION = '0.2.1 '
44 end
55end
You can’t perform that action at this time.
0 commit comments