Cerces / docs / createRedocHTML
Function: createRedocHTML()
createRedocHTML(
url,options?):`<!DOCTYPE html>${string}</html>`
Defined in: src/docs.ts:72
Creates the HTML for the ReDoc documentation.
Parameters
url
string
The URL of the OpenAPI/Swagger specification.
options?
Optional parameters for customizing the ReDoc documentation.
title?
string
jsUrl?
string
faviconUrl?
string
Returns
`<!DOCTYPE html>${string}</html>`
The HTML string for the ReDoc documentation.