spryker-sdk/sync-api
最新稳定版本:0.1.7
Composer 安装命令:
composer require spryker-sdk/sync-api
包简介
SDK for SyncAPI.
README 文档
README
This library provides console commands to work with synchronous APIs.
Installation
composer require --dev spryker-sdk/sync-api
Usage
Run tests/checks
composer test- This will execute the tests.composer cs-check- This will run CodeStyle checks.composer cs-fix- This will fix fixable CodeStyles.composer stan- This will run PHPStan checks.
Documentation
The following console commands are available:
vendor/bin/syncapi schema:openapi:createvendor/bin/syncapi schema:openapi:validatevendor/bin/syncapi code:openapi:generate
Adding an OpenAPI file
The vendor/bin/syncapi schema:openapi:create adds a minimal OpenAPI file.
Validating an OpenAPI file
The vendor/bin/syncapi schema:openapi:validate validates an OpenAPI file.
Create code from an existing OpenAPI
The vendor/bin/syncapi code:openapi:generate reads an existing OpenAPI file and creates code out of it.
统计信息
- 总下载量: 25.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2022-05-06