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
This is due to lib/loader.js treating empty arrays as simply shorter verisons of non-empty arrays, when in fact Yaml requires them to be explicitly noted as empty using [].
This is causing errors for us as we often use empty arrays as defaults for array-type config values.
The text was updated successfully, but these errors were encountered:
I've found that an empty array in
default.yaml
is being transferred to the Swagger file as a null:
This is due to
lib/loader.js
treating empty arrays as simply shorter verisons of non-empty arrays, when in fact Yaml requires them to be explicitly noted as empty using[]
.This is causing errors for us as we often use empty arrays as defaults for array-type config values.
The text was updated successfully, but these errors were encountered: