File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -918,7 +918,7 @@ GET /foo/
918
918
"properties": {
919
919
"name": {"type": "string"}
920
920
}
921
- }} ,
921
+ },
922
922
"examples": {
923
923
"title": "The collection of example for the thing",
924
924
"type": "array",
@@ -928,7 +928,7 @@ GET /foo/
928
928
"id": {"type": "integer"}
929
929
},
930
930
"links": [{
931
- "rel": "item"
931
+ "rel": "item",
932
932
"href": "/examples/{id}",
933
933
"anchorPointer": "1"
934
934
}]
@@ -957,8 +957,8 @@ GET /foo/
957
957
}]]>
958
958
</artwork >
959
959
<postamble >
960
- The default context for the the link to "/example /1234" is the first
961
- array entry, and for the link to "/example /5678" it is the second array
960
+ The default context for the link to "/examples /1234" is the first
961
+ array entry, and for the link to "/examples /5678" it is the second array
962
962
entry. But "anchorPointer" moves this up one instance level (the "1"
963
963
Relative JSON Pointer) to be the array containing each entry.
964
964
</postamble >
You can’t perform that action at this time.
0 commit comments