Closed ferriol closed 4 years ago
Hi, have you tried running the command described here : https://symfony.com/doc/current/bundles/NelmioApiDocBundle/faq.html#asset-files-not-loaded ?
Hi, I tried your propose but doesn't work, problem still exists
@ferriol did you also run composer require symfony/asset
?
Is already installed:
composer require symfony/asset
Restricting packages listed in "symfony/symfony" to "4.4.*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.4.*"
Nothing to install or update
We solved adding the path in the asset bundle config
framework:
assets:
base_path: 'base_path/to/the/application'
Hi,
I'm using swagger and the path to the symfony app is http://myhost.com/symfonyapp/ and the swagger is http://myhost.com/symfonyapp/api/doc but swagger doesn't works because is looking its assets, for example, at: http://myhost.com/bundles/nelmioapidoc/init-swagger-ui.js I set host: apidev.motogp.com/payments in nelmio_api_doc.yaml What I have to set to make it work ?