1 | import { INestApplication } from '@nestjs/common';
|
2 | import { OpenAPIObject, SwaggerCustomOptions, SwaggerDocumentOptions } from './interfaces';
|
3 | export declare class SwaggerModule {
|
4 | private static readonly metadataLoader;
|
5 | static createDocument(app: INestApplication, config: Omit<OpenAPIObject, 'paths'>, options?: SwaggerDocumentOptions): OpenAPIObject;
|
6 | static loadPluginMetadata(metadataFn: () => Promise<Record<string, any>>): Promise<void>;
|
7 | private static serveStatic;
|
8 | private static serveDocuments;
|
9 | private static serveSwaggerUi;
|
10 | private static serveDefinitions;
|
11 | static setup(path: string, app: INestApplication, documentOrFactory: OpenAPIObject | (() => OpenAPIObject), options?: SwaggerCustomOptions): void;
|
12 | }
|
13 |
|
\ | No newline at end of file |