hotmeteor / spectator

OpenAPI testing for PHP
MIT License
285 stars 53 forks source link

Fix filterProperties when data does not contain properties #172

Closed bastien-phi closed 9 months ago

bastien-phi commented 9 months ago

In some cases, we try to filter properties of something which does not have any.

This PR fixes it, allowing to define and validate json responses like

{
  "data": ["foo", "bar", "baz"]
}