From 5927c8fbd9d8bb11ad1a893246cd375ebd6d0172 Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Tue, 21 Jan 2025 11:26:52 -0500 Subject: [PATCH] feat: better spec urls (#15487) --- server/src/utils/misc.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/utils/misc.ts b/server/src/utils/misc.ts index 6a64923a3bf7b..fddaa1f061375 100644 --- a/server/src/utils/misc.ts +++ b/server/src/utils/misc.ts @@ -253,6 +253,8 @@ export const useSwagger = (app: INestApplication, { write }: { write: boolean }) swaggerOptions: { persistAuthorization: true, }, + jsonDocumentUrl: '/api/spec.json', + yamlDocumentUrl: '/api/spec.yaml', customSiteTitle: 'Immich API Documentation', };