diff --git a/api.planx.uk/admin/feedback/downloadFeedbackCSV.ts b/api.planx.uk/admin/feedback/downloadFeedbackCSV.ts index 316af72c61..6836fb37a8 100644 --- a/api.planx.uk/admin/feedback/downloadFeedbackCSV.ts +++ b/api.planx.uk/admin/feedback/downloadFeedbackCSV.ts @@ -62,7 +62,7 @@ type ParsedFeedback = Feedback & { * tags: * - admin * security: - * - userJWT: [] + * - bearerAuth: [] */ export const downloadFeedbackCSV = async ( req: Request, diff --git a/api.planx.uk/admin/session/bops.ts b/api.planx.uk/admin/session/bops.ts index 020cf980ec..74aa8feb0a 100644 --- a/api.planx.uk/admin/session/bops.ts +++ b/api.planx.uk/admin/session/bops.ts @@ -12,7 +12,7 @@ import { getClient } from "../../client"; * parameters: * - $ref: '#/components/parameters/sessionId' * security: - * - userJWT: [] + * - bearerAuth: [] */ export const getBOPSPayload = async ( req: Request, diff --git a/api.planx.uk/admin/session/csv.ts b/api.planx.uk/admin/session/csv.ts index 57d485482c..06d0bb00be 100644 --- a/api.planx.uk/admin/session/csv.ts +++ b/api.planx.uk/admin/session/csv.ts @@ -18,7 +18,7 @@ import { getClient } from "../../client"; * required: false * description: If a CSV file should be downloaded, or its raw data returned * security: - * - userJWT: [] + * - bearerAuth: [] */ export async function getCSVData( req: Request, @@ -62,7 +62,7 @@ export async function getCSVData( * required: false * description: If a CSV file should be downloaded, or its raw data returned * security: - * - userJWT: [] + * - bearerAuth: [] */ export async function getRedactedCSVData( req: Request, diff --git a/api.planx.uk/admin/session/html.ts b/api.planx.uk/admin/session/html.ts index c4e4a3d990..52560d79da 100644 --- a/api.planx.uk/admin/session/html.ts +++ b/api.planx.uk/admin/session/html.ts @@ -16,7 +16,7 @@ type HTMLExportHandler = RequestHandler<{ sessionId: string }, string>; * parameters: * - $ref: '#/components/parameters/sessionId' * security: - * - userJWT: [] + * - bearerAuth: [] */ export const getHTMLExport: HTMLExportHandler = async (req, res, next) => { try { @@ -53,7 +53,7 @@ export const getHTMLExport: HTMLExportHandler = async (req, res, next) => { * parameters: * - $ref: '#/components/parameters/sessionId' * security: - * - userJWT: [] + * - bearerAuth: [] */ export const getRedactedHTMLExport: HTMLExportHandler = async ( req, diff --git a/api.planx.uk/admin/session/oneAppXML.ts b/api.planx.uk/admin/session/oneAppXML.ts index d91e1897e7..2f95b144cc 100644 --- a/api.planx.uk/admin/session/oneAppXML.ts +++ b/api.planx.uk/admin/session/oneAppXML.ts @@ -13,7 +13,7 @@ import { adminGraphQLClient as client } from "../../hasura"; * parameters: * - $ref: '#/components/parameters/sessionId' * security: - * - userJWT: [] + * - bearerAuth: [] */ export const getOneAppXML = async ( req: Request, diff --git a/api.planx.uk/admin/session/summary.ts b/api.planx.uk/admin/session/summary.ts index 5e7949cd6e..d0975c9e0a 100644 --- a/api.planx.uk/admin/session/summary.ts +++ b/api.planx.uk/admin/session/summary.ts @@ -20,7 +20,7 @@ import { Breadcrumb, Flow, LowCalSession, Passport, Team } from "../../types"; * parameters: * - $ref: '#/components/parameters/sessionId' * security: - * - userJWT: [] + * - bearerAuth: [] */ export async function getSessionSummary( req: Request, diff --git a/api.planx.uk/admin/session/zip.ts b/api.planx.uk/admin/session/zip.ts index 25b9c9c1ed..e57179807f 100644 --- a/api.planx.uk/admin/session/zip.ts +++ b/api.planx.uk/admin/session/zip.ts @@ -17,7 +17,7 @@ import { buildSubmissionExportZip } from "../../send/exportZip"; * required: false * description: If the OneApp XML file should be included in the zip * security: - * - userJWT: [] + * - bearerAuth: [] */ export async function generateZip( req: Request, diff --git a/api.planx.uk/modules/misc/docs.yaml b/api.planx.uk/modules/misc/docs.yaml index 7422e8fef3..ae3dd4af01 100644 --- a/api.planx.uk/modules/misc/docs.yaml +++ b/api.planx.uk/modules/misc/docs.yaml @@ -30,7 +30,7 @@ paths: tags: - misc security: - - userJWT: [] + - bearerAuth: [] responses: '200': description: OK