Skip to content

Commit

Permalink
feat: better spec urls (#15487)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 authored Jan 21, 2025
1 parent b0cdd8f commit 1745f48
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 1745f48

Please sign in to comment.