Skip to content

Workery / renderers

Module: renderers

Table of contents

Functions

Functions

renderSwagger

renderSwagger(url, options?): string

Parameters

NameType
urlstring
options?Object
options.title?string
options.jsUrl?string
options.cssUrl?string
options.faviconUrl?string
options.parameters?Record<string, any>

Returns

string

Defined in

src/renderers.ts:1


renderRedoc

renderRedoc(url, options?): string

Parameters

NameType
urlstring
options?Object
options.title?string
options.jsUrl?string
options.faviconUrl?string

Returns

string

Defined in

src/renderers.ts:62