mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Fix for missing basePath
If it is used without `#/definitions/` the documentation gives an error: `Could not resolve reference because of: Tried to resolve a relative URL, without having a basePath..`
This commit is contained in:
parent
279d20be78
commit
f0bc1d3ff4
@ -43,7 +43,7 @@ In this case the class ``App\Entity\User`` will be aliased into:
|
||||
class HomeController
|
||||
{
|
||||
/**
|
||||
* @SWG\Response(response=200, @SWG\Schema(ref="MyModel"))
|
||||
* @SWG\Response(response=200, @SWG\Schema(ref="#/definitions/MyModel"))
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user