Optional
UIOauthOptional
UIOptions?: SwaggerUiOptionsOptional
addadd the name of the services in tags ?
false
Optional
assetspath you configured to point to open api assets
You can use unpkg CDN by setting //unpkg.com/swagger-ui-dist[@
//unpkg.com/swagger-ui-dist
Optional
cacheallow to clear the cache when the routes are reloaded (else, they will be cleared when cache expire)
this doesn't work without cacheOpenApi = true, or without cacher .
next-call
Optional
cacheadd the openAPI to cache If no cacher is available, the openApi will not be cached
true
Optional
defaultset the default response content-type, used by "response", can be overridden with parameter "response.type" on action/route level
application/json
Optional
multithe name of the field holding the file (only important in documentation, change it if it collides with one of your fields)
file
Optional
onlymap only local services (on the same node) ?
false
Optional
openOptional
openapi?: openApiServiceOpenApiConfigure the base of the openApi Document . documentation
Optional
returnreturn assets as a stream else as a buffer ?
true
Optional
schemapath to openapi.json / to the openapi generation action
Optional
skipallow to skip unresolved actions
true
Optional
summarysummary template use variable between double accolades : {{summary}}
string summary : the actual summary
string action : the action name
string autoAlias : print [autoAlias] if an auto alias
{{summary}}\n ({{action}}){{autoAlias}}
set some swaggerUi options