@b8n/nestjs-rapidoc
Version:
NestJS module for RapiDoc
12 lines (11 loc) • 585 B
TypeScript
import type { RapidocCustomOptions } from "./interfaces/rapidoc-custom-options.interface";
import type { INestApplication } from "@nestjs/common";
import type { OpenAPIObject } from "@nestjs/swagger";
export declare class RapidocModule {
private static serveOAuthReceiver;
private static serveDocuments;
private static getRapidocAssetsPath;
private static serveDefaultRapidocFavicon;
private static serveStatic;
static setup(path: string, app: INestApplication, documentOrFactory: OpenAPIObject | (() => OpenAPIObject), options?: RapidocCustomOptions): void;
}