I am using the APP_URL
environment variable to set the API URL in Swagger documentation in Laravel. However, the problem is that the URL is displayed as {{ env('APP_URL') }}/v4/
on the documentation page instead of showing the actual URL.
I have entered the following codes in the main controller file of Laravel:
/**
* @OAServer(
* url="{{ env('APP_URL') }}/v4/",
* description="API server"
* )
*/