DEV Community

Discussion on: Laravel Api Documentation with Swagger and Passport

Collapse
 
jerry2491 profile image
jerry2491

I am using swagger(8.0) with Laravel(8.40). Everything is fine but not able to create dynamic url for the swagger documentation. It always create documentation with 127.0.0.1:8000/api/docs. I want dynamic host so that I can also share this documentation with others after upload my project on the live server.