From 7ebcfecf92b370772ff7eef453d1eb5a4c35cabb Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Mon, 11 Apr 2022 22:30:15 +0200 Subject: [PATCH] fix: add limit and offset to pagination Closes #3033 --- consent/doc.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/consent/doc.go b/consent/doc.go index eec38a51c94..08fa8499070 100644 --- a/consent/doc.go +++ b/consent/doc.go @@ -67,6 +67,14 @@ type swaggerListSubjectConsentSessionsPayload struct { // in: query // required: true Subject string `json:"subject"` + + // The maximum amount of consent sessions to be returned, upper bound is 500 sessions. + // in: query + Limit int `json:"limit"` + + // The offset from where to start looking. + // in: query + Offset int `json:"offset"` } // swagger:parameters revokeAuthenticationSession