You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using $schema = Reader::readFromYaml($content) followed by Writer::writeToYaml($schema) any instances of security: [] are incorrectly converted to security: { }. This is invalid (it should remain as an empty array) and causes any tooling that reads the newly written spec to fall over.
The text was updated successfully, but these errors were encountered:
Hi @cebe - does my suggestion above seem sensible, or are there any other considerations that need to be taken into account? If it looks ok, I'm happy to test it and open a PR...
When using
$schema = Reader::readFromYaml($content)
followed byWriter::writeToYaml($schema)
any instances ofsecurity: []
are incorrectly converted tosecurity: { }
. This is invalid (it should remain as an empty array) and causes any tooling that reads the newly written spec to fall over.The text was updated successfully, but these errors were encountered: