Merge pull request #1319 from OndraM/fix-docs-model

Fix Model annotation example in docs
This commit is contained in:
Guilhem N 2018-05-09 19:46:01 +02:00 committed by GitHub
commit bf52f136ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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))
* )
* )
*/