-
Notifications
You must be signed in to change notification settings - Fork 112
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
Update compose-spec.json: remove invalid fields from array #684
Conversation
Signed-off-by: Ana-Maria (A.) Manolache <ana-maria.manolache@ing.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
additionalProperties is indeed wrongly declared on watch
type, while it should apply to the parent development
element. Should not be removed but moved to parent type
"additionalProperties": false, | ||
"patternProperties": {"^x-": {}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be moved to the development
level as this section is missing the capability to add extension attributes x-
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added them back on development
…opment schema Signed-off-by: Ana-Maria (A.) Manolache <ana-maria.manolache@ing.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for your contribution 🙏
The 'additionalProperties' and 'patternProperties' are being declared for an array type, which is invalid. They are also declared for the items of the array, so they can be removed. Their presence is causing issues converting this jsonschema to its cuelang representation.
Fixes compose-spec/compose-spec#534