Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 lumen 5.5.* 中创建了一个 REST API。现在我需要为它创建一个 swagger API 文档,但我不想为每个 API 编写注释。
任何解决方案
除了编写多个注释(使用 swagger-php),您还可以编写一个包含所有 api 调用的 yaml(或 json)文件。