定制 fr3d/swagger-assertions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fr3d/swagger-assertions

最新稳定版本:v1.0.0

Composer 安装命令:

composer require --dev fr3d/swagger-assertions

包简介

Test your API requests and responses against your swagger definition

README 文档

README

Test any API requests and responses match with the models described in the documentation.

This project is compatible with Swagger 2 spec definitions.

Installing via Composer

You can use Composer .

composer require fr3d/swagger-assertions

Usage in PHPUnit

There are two traits for provide predefined helper functions for different assertions.

See examples at examples/PhpUnit

FAQ

Q: Can this library validate my Swagger definition?
A: No. This library validate your API requests and responses match your Swagger definition.

License

Code licensed under BSD 2 clauses terms & conditions.

See LICENSE.txt for more information.

统计信息

  • 总下载量: 828.04k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 139
  • 点击次数: 2
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 138
  • Watchers: 7
  • Forks: 27
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2015-04-04