NelmioApiDocBundle
NelmioApiDocBundle copied to clipboard
Installation along symfony/asset_mapper
Hi,
I started fresh project with symfony 6.4 for a web project which should serve an API at the same time. During kikstart of this project symfony/asset_mapper has been installed. I do not really know if I will use the asset_mapper, but I would like to try it.
The problem is now, that the swagger_ui endpoint of nelmio api doc does not work with the asset_mapper activated. All assets for the UI deliver 404. If I uninstall asset_mapper, the UI is fine.
The question is now, how to configure the project to get swagger_ui to work with asset_mapper installed?
+1 , symfony 6.4 "nelmio/api-doc-bundle": v4.18.2,
@artur2000 need run command php bin/console asset-map:compile