Package io.micronaut.openapi.view
Class SwaggerUIConfig
java.lang.Object
io.micronaut.openapi.view.AbstractViewConfig
io.micronaut.openapi.view.SwaggerUIConfig
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
Swagger UI configuration.
- Author:
- croudet
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.openapi.view.AbstractViewConfig
AbstractViewConfig.OpenApiUrl -
Field Summary
Fields inherited from class io.micronaut.openapi.view.AbstractViewConfig
copyResources, fullUrlPrefix, isDefaultJsUrl, jsUrl, openApiInfos, options, prefix, primaryName, resourcesContextPath, specUrl, templatePath, urlPrefix, urls, withFinalUrlPrefixCache, withUrls -
Method Summary
Methods inherited from class io.micronaut.openapi.view.AbstractViewConfig
addAttribute, fromProperties, getFinalUrlPrefix, getTemplatePath, getUrls, toHtmlAttributesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
-
Method Details
-
render
public String render(String template, @Nullable @Nullable io.micronaut.inject.visitor.VisitorContext context) - Specified by:
renderin classAbstractViewConfig
-
getConverter
Description copied from class:AbstractViewConfigReturns the converter associated with the key.- Specified by:
getConverterin classAbstractViewConfig- Parameters:
key- A key.- Returns:
- A converter or null.
-
getResources
- Specified by:
getResourcesin classAbstractViewConfig
-