Skip to content

Commit

Permalink
feat: better spec urls (immich-app#15487)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 authored and ExceptionsOccur committed Jan 22, 2025
1 parent 38f4b3d commit 5927c8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/utils/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};

Expand Down

0 comments on commit 5927c8f

Please sign in to comment.