api-tools-documentation-swagger:Laminas API Tools API Swagger文档模块

时间:2021-05-15 05:54:52
【文件属性】:
文件名称:api-tools-documentation-swagger:Laminas API Tools API Swagger文档模块
文件大小:696KB
文件格式:ZIP
更新时间:2021-05-15 05:54:52
hacktoberfest JavaScript 面向Laminas API工具的Swagger文档提供程序 介绍 该模块使Laminas API Tools能够通过显示API文档。 在URI路径/api-tools/swagger启用此模块后,即可立即访问Swagger UI。 除了提供HTML UI之外,该模块还插入主要的Laminas API Tools文档资源(位于路径/api-tools/documentation ),以便允许以application/vnd.swagger+json媒体类型返回文档有效负载; 此资源是Swagger UI的源。 您可以通过路径/api-tools/documentation/:module/:service传递媒体类型application/vnd.swagger+json作为Accept头来访问此表示。 要求 请参阅文件。 安装 运行以下composer命令: $ composer r
【文件预览】:
api-tools-documentation-swagger-1.4.x
----view()
--------api-tools-documentation-swagger()
----src()
--------Api.php(1KB)
--------Exception()
--------ViewModel.php(1022B)
--------SwaggerUiController.php(2KB)
--------Model()
--------Module.php(2KB)
--------Service.php(12KB)
--------SwaggerViewStrategyFactory.php(740B)
--------SwaggerViewStrategy.php(2KB)
--------SwaggerUiControllerFactory.php(2KB)
----LICENSE.md(1KB)
----COPYRIGHT.md(91B)
----composer.json(2KB)
----CHANGELOG.md(3KB)
----asset()
--------api-tools-documentation-swagger()
----.github()
--------workflows()
----README.md(5KB)
----config()
--------module.config.php(3KB)

网友评论