-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional but empty arrays are considered an error #15
Comments
See also #13 (comment) |
I would argue for removing |
The desired behaviour, as agreed in the AAS Specification working group, is that no empty |
It is :-) |
Great, thanks @sebbader-sap for clarifying this! |
Related issue in the specifications, admin-shell-io/aas-specs#418 |
Currently, arrays which are optional (i.e. not required) are considered as an error when present but empty.
Eg:
{ "conceptDescriptions": [] }
is currently rejected.
We need to clarify if this is compliant to the spec.
The text was updated successfully, but these errors were encountered: