The base document.
Optional
baseThe custom base path.
Optional
cacheThe custom cache provider to use.
false
indicates to use no cache.
Optional
cacheThe custom key in the cache, which is used to store downloaded Swagger documents as array.
"downloaded-swagger-documents"
Optional
onIs invoked, when downloading a Swagger document from a source.
Optional
onAn optional function, which updates a (downloaded) Swagger document.
Optional
onloadJSThe additional JavaScript code for the end of the
window.onload
function of the swagger-initializer.js
file.
Optional
resetReset the code of window.onload
function of the swagger-initializer.js
file
or not.
false
One or more source.
Optional
useOne or more custom middlewares to use.
Optional
versionOpenAPI version.
"3.0.3"
Generated using TypeDoc
Options for
setupSwaggerProxy()
function.