浏览代码

Merge pull request #45 from ilgala/patch-1

Documenting endpoint update
Shalvah 5 年之前
父节点
当前提交
80b70feef9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/documenting/documenting-endpoint-responses.md

+ 1 - 1
docs/documenting/documenting-endpoint-responses.md

@@ -303,7 +303,7 @@ If you want specific relations to be loaded with your model when instantiating v
 ```php
 /**
  * @apiResourceCollection App\Resources\UserCollection
- * @apiResourceModel App\Models\User relations=teacher,classmates
+ * @apiResourceModel App\Models\User with=teacher,classmates
  */
 ```