Open edmondscommerce opened 4 years ago
Sounds valid. Could you please provide PR with failing test and a fix on top of it?
will do
PR is passing now, I think its functionally OK
Any developments on this?
@sookoll You can take over an abandoned PR #41
Firstly - thanks for this great library!
Found a fairly easy to fix issue though I think:
It's quite easy to get an undefined index error at
https://github.com/thephpleague/openapi-psr7-validator/blob/master/src/PSR7/Validators/PathValidator.php#L53
if you have not done written your spec properly, ie you have a path with a
{param}
but haven't actually added the param annotation to the request specThis seems like an easy issue to catch and throw a useful exception as is being done elsewhere
I'd be happy to give it a go as a PR