From 3bbfe1ddef8e3e2b8b255c076a9395786712f28e Mon Sep 17 00:00:00 2001 From: Louis Laureys Date: Tue, 13 Apr 2021 21:58:11 +0200 Subject: [PATCH] Order is not a number --- docs/api/openapi.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/api/openapi.yml b/docs/api/openapi.yml index 0e10e989..a41451e4 100644 --- a/docs/api/openapi.yml +++ b/docs/api/openapi.yml @@ -446,7 +446,7 @@ paths: in: query description: Ordering of the records by insert date schema: - type: number + $ref: '#/components/schemas/Order' - name: next in: query description: 'Cursor value for next page, retrieved from nextCursor response value' @@ -1486,7 +1486,7 @@ paths: in: query description: Ordering of the records by insert date schema: - type: number + $ref: '#/components/schemas/Order' - name: next in: query description: 'Cursor value for next page, retrieved from nextCursor response value' @@ -6416,6 +6416,11 @@ components: - imap - pop3 - smtp + Order: + type: string + enum: + - asc + - desc securitySchemes: AccessTokenAuth: