From c4e22214448926f4f678895e9b5f7be607f74cd0 Mon Sep 17 00:00:00 2001 From: Maksim Eltyshev Date: Fri, 12 Sep 2025 21:01:24 +0200 Subject: [PATCH] docs: Fix typos in Swagger --- server/api/controllers/access-tokens/create.js | 2 +- server/api/controllers/access-tokens/exchange-with-oidc.js | 2 +- server/api/controllers/boards/update.js | 4 ++-- server/api/controllers/cards/create.js | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/server/api/controllers/access-tokens/create.js b/server/api/controllers/access-tokens/create.js index e438cf01..69ce5e50 100755 --- a/server/api/controllers/access-tokens/create.js +++ b/server/api/controllers/access-tokens/create.js @@ -52,7 +52,7 @@ * example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ4... * headers: * Set-Cookie: - * description: HTTP-only authentication cookie (if withHttpOnlyToken is true) + * description: HTTP-only authentication cookie (if `withHttpOnlyToken` is true) * schema: * type: string * example: httpOnlyToken=29aa3e38-8d24-4029-9743-9cbcf0a0dd5c; HttpOnly; Secure; SameSite=Strict diff --git a/server/api/controllers/access-tokens/exchange-with-oidc.js b/server/api/controllers/access-tokens/exchange-with-oidc.js index cdd232c6..1e0618ae 100644 --- a/server/api/controllers/access-tokens/exchange-with-oidc.js +++ b/server/api/controllers/access-tokens/exchange-with-oidc.js @@ -52,7 +52,7 @@ * example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ4... * headers: * Set-Cookie: - * description: HTTP-only authentication cookie (if withHttpOnlyToken is true) + * description: HTTP-only authentication cookie (if `withHttpOnlyToken` is true) * schema: * type: string * example: httpOnlyToken=29aa3e38-8d24-4029-9743-9cbcf0a0dd5c; HttpOnly; Secure; SameSite=Strict diff --git a/server/api/controllers/boards/update.js b/server/api/controllers/boards/update.js index f551332e..929e3cf8 100755 --- a/server/api/controllers/boards/update.js +++ b/server/api/controllers/boards/update.js @@ -53,11 +53,11 @@ * example: false * alwaysDisplayCardCreator: * type: boolean - * description: Whether to limit card types to default one + * description: Whether to always display card creators * example: false * expandTaskListsByDefault: * type: boolean - * description: Whether to always display the card creator + * description: Whether to expand task lists by default * example: false * isSubscribed: * type: boolean diff --git a/server/api/controllers/cards/create.js b/server/api/controllers/cards/create.js index 50cea6bf..48625fb8 100755 --- a/server/api/controllers/cards/create.js +++ b/server/api/controllers/cards/create.js @@ -55,7 +55,6 @@ * dueDate: * type: string * format: date-time - * nullable: true * description: Due date for the card * example: 2024-01-01T00:00:00.000Z * isDueCompleted: