Browse Source

Merge pull request #45 from ilgala/patch-1

Documenting endpoint update
Shalvah 5 năm trước cách đây
mục cha
commit
80b70feef9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
  */
 ```