mirror of
https://github.com/immich-app/immich.git
synced 2026-01-14 22:13:14 -08:00
fix: add ignoreGlobalPrefix option to Swagger options
This commit is contained in:
@@ -261,6 +261,7 @@ export const useSwagger = (app: INestApplication, { write }: { write: boolean })
|
||||
const options: SwaggerDocumentOptions = {
|
||||
operationIdFactory: (controllerKey: string, methodKey: string) => methodKey,
|
||||
extraModels: extraSyncModels,
|
||||
ignoreGlobalPrefix: true,
|
||||
};
|
||||
|
||||
const specification = SwaggerModule.createDocument(app, config, options);
|
||||
|
||||
Reference in New Issue
Block a user