UNPKG

@sigiljs-community/swagger-ui-plugin

Version:

Plugin for SigilJS framework, that generates and serves Swagger UI at a configurable endpoint

23 lines (22 loc) 592 B
export interface SwaggerGenOptions { htmlMeta?: Record<string, string>; favIcon?: (string | { type?: string; url: string; size?: number; }) | (string | { type?: string; url: string; size?: number; })[]; title?: string; swaggerInitOptions?: { swaggerDoc: Record<any, any>; } & Record<string, any>; customJs?: string; customCss?: string; base: string; swaggerStylesheet?: string; allowExplorer?: boolean; } export default function generateHtml(options: SwaggerGenOptions): Promise<string>;