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.
目前我正在使用 Laravel 创建 API 和库DarkaOnline -基于PHP-Swagger创建 API 文档的 L5 Swagger。
我的问题是如何大摇大摆地提供 JSON 数据样本?
目前我可以在参数描述上做这样的事情: 但是看起来很丑而且不长,让读者很困惑。有没有最好的方法来做到这一点?