nabbar / SwaggerValidator-PHP

A Swagger Validation and Parser as lib for PHP to secure and helpful application for request / response validating, security stage, testunit skeleton, testauto generation, ... This lib can be used into any existing application who's having a swagger definition file for request/response.
Apache License 2.0
21 stars 3 forks source link

How to use this library? #27

Open kaschioudi opened 6 years ago

kaschioudi commented 6 years ago

Hello,

We have recently added REST API to OJS project and have put together a swagger document. I am currently in the process of setting tests coverage for the api. We use PHPUnit for testing. I have been looking into how to use this library to test the api with no luck. I couldn't find any documentation other than Example.php and the generated documentation.

Could you please tell me exactly to use this library? thanks.

Please not that our swagger document is written in YAML and I have used the swagger editor to get a JSON version.