You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to use this bundle with static json files I noticed that I get an undefined error if I don't include base path in my api-docs.json file. When I add the base path the base path is added twice and I believe this is caused by the line above. Is there any reason why base path is appended like that?
I looked through swagger-php documentation for what base path is supposed to be and it should just be something like http://domain.com/api. The base path is already set through the request object so why append it with the json base path?
The text was updated successfully, but these errors were encountered:
StaticResourcesController.php
$data['basePath'] = $request->getBaseUrl() . $data['basePath'];
While attempting to use this bundle with static json files I noticed that I get an undefined error if I don't include base path in my api-docs.json file. When I add the base path the base path is added twice and I believe this is caused by the line above. Is there any reason why base path is appended like that?
I looked through swagger-php documentation for what base path is supposed to be and it should just be something like http://domain.com/api. The base path is already set through the request object so why append it with the json base path?
The text was updated successfully, but these errors were encountered: