Answer the question
In order to leave comments, you need to log in
How to set up the swagger-ui-bundle?
There is a project on Symfony.
The project is available at localhost.loc/alias .
For API doc I use this bundle harmbandstra/swagger-ui-bundle
The problem is that an empty page is displayed at localhost.loc/alias/docs, since Symfony looks for JS for this page at localhost.loc/bundles/hbswaggerui /*.js instead of localhost.loc/alias/bundles/hbswaggerui/*.js.
How to set up a bundle so that it searches for JS at localhost.loc/alias/bundles/hbswaggerui/*.js ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question