Closed wecodelaravel closed 5 years ago
@laravelcoder that's incorrect way of resolving this issue.
There're special variables in config file swaggervel.php
for that:
https://github.com/appointer/swaggervel/blob/baf079f91f545a1c809edeeb4112185358a44f50/src/config/swaggervel.php#L16
and
https://github.com/appointer/swaggervel/blob/baf079f91f545a1c809edeeb4112185358a44f50/src/config/swaggervel.php#L23
@Spartaa just insert /
in front of default values.
I will publish new PR, so it will close #22 issue.
I'd really appreciate a patch for this - but yeah, this PR is (in my opinion too) not the right way to solve it, as the changes are redundant because of existing config options.
@laravelcoder that's incorrect way of resolving this issue.
There're special variables in config file
swaggervel.php
for that: swaggervel/src/config/swaggervel.phpLine 16 in baf079f
'doc-route' => 'docs',
and swaggervel/src/config/swaggervel.php
Line 23 in baf079f
'ui-resource-path' => 'vendor/swaggervel',
@Spartaa just insert
/
in front of default values. I will publish new PR, so it will close #22 issue.
I am still facing the same issue should i remove last changes? which i made by seeing "laravelcoder "
@Spartaa yes. Revert any changes made directly to source files of swaggervel
and apply commit (5f4313d) to your config file
@TemaSM @fgreinus I upload my files from local host to live server and i am receiving this error again i have checked i just move all files from here to there is there anything you can guide me about that issue? Please
This was causing my /api/docs to not work so i fixed it and now i am sharing with everyone.