kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Get all kandi verified functions for this library.
No Code Snippets are available at this moment for codeFactory.
Can not create new route after adding Swagger LaravelAsked 2021-Oct-09 at 10:45
I've used this documentation https://codefactory.searchmymarket.com/install-swagger-in-laravel/ to create swagger documentation for all APIs in my Laravel project
The documentation works fine for already added APIs, but when I try to add new routes, even if they are Web routes, they are not displayed when I try to access their link using browser/Postman/Swagger , the new APIs are displayed in the Swagger documentation but if I try to access them, they give me error 404 like they never exists
I tried to use the command
php artisan route:list to display list of routes in my project, but it does not show me my new routes like they never exists
Any help would be appreciated, thanks
ANSWERAnswered 2021-Oct-09 at 10:45
The problem is solved, it is only required to clear route cache using
php artisan route:clear
No vulnerabilities reported