merzdan / swagger-assertions
Test your API requests and responses against your swagger definition
dev-master
2018-10-23 23:20 UTC
Requires
- php: >7.0.0
- ext-json: *
- rize/uri-template: ^0.3.0
Requires (Dev)
- guzzlehttp/guzzle: ~6.0
- phpunit/phpunit: >=4.8.28 <5.0.0 || >=5.6.3 <7.0
- psr/http-message: ^1.0
- symfony/http-foundation: ^2.7
- zendframework/zend-http: 2.5 - 3
Suggests
- guzzlehttp/guzzle: For Guzzle constraints
- symfony/http-foundation: For Symfony constraints
This package is auto-updated.
Last update: 2025-03-24 13:57:14 UTC
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 merzdan/swagger-assertions
FAQ
- Q: Can this library validate my Swagger definition?
- A: No. This library validate your API requests and responses match your Swagger definition.