oat-sa/swagger-json-collector
Composer 安装命令:
composer require oat-sa/swagger-json-collector
包简介
Combine multiple swagger 2.0 documents into a single document
README 文档
README
Combines Swagger docs from various sources
Example of usage
Valid input formats are files that contains JSON, or JSON strings or PHP arrays. Formats can be mixed within the input array.
$collector = new DocsCollector(); $doc = $collector->generate(['swagger.json', '{ "swagger": "2.0",...}'], [ 'swagger' => '2.0',...]]); file_put_contents('swaggerDoc.json', json_encode($doc))
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-03-27