Fix Model annotation example in docs (fixes #1318)

This commit is contained in:
Ondřej Machulda 2018-05-09 17:10:28 +02:00
parent 304b3f5816
commit 83de823e77
No known key found for this signature in database
GPG Key ID: F63543DDE4EAEA17

View File

@ -218,7 +218,7 @@ This annotation has two options:
*
* @SWG\Response(
* @SWG\Schema(type="object",
* @SWG\Property(property="foo", ref=@Model(FooClass::class))
* @SWG\Property(property="foo", ref=@Model(type=FooClass::class))
* )
* )
*/