How to integrate Swagger in Lumen/Laravel for REST API?
问题 I have built some REST API in Lumen micro framework and it's working fine. Now I want to integrate Swagger into it so the API will be well documented on future use. Has anyone done this? 回答1: Steps to follow for Laravel Lumen 5.7 with swagger using OpenApi 3.0 specs (this governs the way you write annotations so that swagger documentation is generated) I reached this adjusting on @black-mamba answer in order to make it work. 1. Install swagger-lume dependency (which also installs swagger)