Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/api/docs not working on Laravel 5.4 #82

Open
garenk02 opened this issue Feb 20, 2017 · 9 comments
Open

/api/docs not working on Laravel 5.4 #82

garenk02 opened this issue Feb 20, 2017 · 9 comments

Comments

@garenk02
Copy link

hi @slampenny

when I use this package on Laravel 5.4 then I browse to http://127.0.0.1:8000/api/docs it show error:

FatalErrorException in Facade.php line 221:
Call to undefined method Illuminate\View\Compilers\BladeCompiler::setEscapedContentTags()

can u tell me how to fix this error?
is it because the new laravel (5.4) version that made changes on Blade Compiler?

Many thank

@AzlainSaavedra
Copy link

Hi @garenk02 i same error, fixed u this error?

@peteracs
Copy link

Temporary solution
Go to vendor/jlapp/swaggervel/src/Jlapp/Swaggervel/routes.php

Remove this two line

Blade::setEscapedContentTags('{{{', '}}}');
Blade::setContentTags('{{', '}}');

@garenk02
Copy link
Author

Oke @peteracs , will try soon.
Really appreciate for ur respon.

@fgreinus
Copy link

You could also give https://github.com/appointer/Swaggervel a shot. I'm currently maintaining it as this project seems to be abandoned.

@urukalo
Copy link

urukalo commented May 19, 2017

there is pull request for this issue: #86

@changyuan
Copy link

Oke @peteracs ,will try soon. Really appreciate for your respon.

@mhetreramesh
Copy link

I'm still facing this issue, what could be the possible solution for this?

@LordRahl90
Copy link

@peteracs, thanks your solution works quiet well, but has there been any permanent solution thus far???

@mehranhadidi
Copy link

@peteracs thanks for your solution. works like a charm. Is there any permanent solution or should I send a PR to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants