spectator
spectator copied to clipboard
OpenAPI testing for PHP
If I execute an API call without a request body ```php $this->patchJson('/pets')->assertValidRequest(); ``` and my OpenAPI file says the request can contain an object (none of the properties are required),...
This PR fixes two issues related to request validation. - If a parameter is not null but "falsey" such as `0` the parameter it is not validated this PR corrects...
* Add regex pattern match against the requested url path This issue came from having static URLs in the API documentation pointing to dynamic URL in my project. ``` /cars/electric...