skopenow/oas-tools
Composer 安装命令:
composer require skopenow/oas-tools
包简介
PHP tools for working with Open API Specifications (version 2 and 3).
README 文档
README
OAS Tools is a PHP library for working with Open API Specifications in both version 2 and version 3 formats.
The purpose of the library is to provide a more convenient interface for working with Open API specifications than manipulating arrays generated directly from the JSON or YAML files themselves. Over time the scope of the library will be improved to cover more of the schema and additional common use cases.
The current implementation provides a few initial features, including the ability to:
- easily load version 2 and 3 schemas from a file or network location and in JSON or YAML format
- query for lists of operations, operation ids and paths without having to parse the whole schema yourself
- query for schemas/definitions, optionally resolving all references
Installation
Use the package manager composer to install foobar.
composer require danballance/oas-tools
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-07