From b11de50ec8e83a054aa21682641b9ffb0d274ef3 Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Mon, 17 Jun 2024 09:17:47 +0200 Subject: [PATCH] feat: set `minItems: 1` --- code/API_definitions/geofencing-subscriptions.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/code/API_definitions/geofencing-subscriptions.yaml b/code/API_definitions/geofencing-subscriptions.yaml index 136160f1..5a0262ab 100644 --- a/code/API_definitions/geofencing-subscriptions.yaml +++ b/code/API_definitions/geofencing-subscriptions.yaml @@ -368,6 +368,7 @@ components: Camara Event types eligible to be delivered by this subscription. Note: As of now we enforce to have only event type per subscription. type: array + minItems: 1 maxItems: 1 items: $ref: "#/components/schemas/SubscriptionEventType"