[Subscriptions-template]: Setting a minItems: 1
& maxItems: 1
for types
in subscription-requests
#235
Labels
correction
correction in documentation
Problem description
It's required to set the
types
-attribute in the subscription-request.But it's not defined that minimum one item has to be set.
But without even one type a subscription does not make sense.
Also, at least for this the upcoming meta-release v0.4.0, we should limit the maximum as well to
1
.Expected behavior
Source
https://github.com/camaraproject/Commonalities/blob/main/artifacts/camara-cloudevents/event-subscription-template.yaml#L305-L312
The text was updated successfully, but these errors were encountered: