function swaggerUiHtml
Since 0.1.0
swaggerUiHtml(options: SwaggerUiOptions | string): string

Generates the Swagger UI HTML page.

Parameters

options: SwaggerUiOptions | string

Options for the UI

Return Type

string

The complete HTML document

Usage

import { swaggerUiHtml } from "openapi-plugin/src/index.ts";