Forum Discussion

jinzhuoming's avatar
New Contributor
2 years ago

How to generate swagger UI with existing Laravel restful api project automatically?

Hello everyone.


My name is Jin zhuoming, as a web developer, I am going to use swagger-ui on my laravel project. Laravel verion :9.0, 

I have installed the package. and add comment manfully, generated, but I think it is hard coding. so I would like to generate swagger ui (api-doc.json) from my project automatically. if you have an experience with it. please help me.

composer require darkaonline/l5-swagger

thank you.

best regards,