Pārlūkot izejas kodu

Documenting endpoint update

Substitute `responses` with `with` in Loading spefic relations example
IlGala 5 gadi atpakaļ
vecāks
revīzija
32bf11b547
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
  */
 ```