From a052cb8a9abe2ee48d2dcad253f924daa50afd12 Mon Sep 17 00:00:00 2001
From: David Schwarzmann <david.schwarzmann@codecentric.de>
Date: Tue, 21 Sep 2021 09:32:17 +0200
Subject: [PATCH] fix(api#87): Pagniation for the event log

---
 spec/schemas/event-log.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/spec/schemas/event-log.yaml b/spec/schemas/event-log.yaml
index 9811dca5..8328db27 100644
--- a/spec/schemas/event-log.yaml
+++ b/spec/schemas/event-log.yaml
@@ -4,7 +4,25 @@ type: object
 required:
   - eventLog
 properties:
+  count:
+    type: integer
+    format: int32
+    description: Anzahl zurückgegebener Events
+    maximum: 500
+    minimum: 0
+  offset:
+    type: integer
+    format: int32
+    description: Startpunkt in der Gesamtanzahl der Events
+    minimum: 0
+  totalCount:
+    type: integer
+    format: int32
+    description: Gesamtanzahl der Events
+    minimum: 0
   eventLog:
     type: array
     items:
       $ref: './security-event-token.yaml'
+    maxItems: 500
+    minItems: 0
-- 
GitLab