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
As is, using openapi-generator after bin/console api:swagger:export -y -o swagger.yaml result in a failure because the empty arrays are converted as empty objects (and openapi-generator does not like that).
Adding the Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE mask to Yaml::dump fixes the problem :