mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 20:25:32 -04:00
feat: better spec urls (#15487)
This commit is contained in:
parent
b0cdd8f475
commit
1745f48f3d
@ -253,6 +253,8 @@ export const useSwagger = (app: INestApplication, { write }: { write: boolean })
|
|||||||
swaggerOptions: {
|
swaggerOptions: {
|
||||||
persistAuthorization: true,
|
persistAuthorization: true,
|
||||||
},
|
},
|
||||||
|
jsonDocumentUrl: '/api/spec.json',
|
||||||
|
yamlDocumentUrl: '/api/spec.yaml',
|
||||||
customSiteTitle: 'Immich API Documentation',
|
customSiteTitle: 'Immich API Documentation',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user