Package io.micronaut.openapi.view
Class OpenApiExplorerConfig
java.lang.Object
io.micronaut.openapi.view.AbstractViewConfig
io.micronaut.openapi.view.OpenApiExplorerConfig
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
OpenAPI Explorer configuration.
-
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, getFinalUrlPrefix, getTemplatePath, getUrls, toHtmlAttributes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
-
Field Details
-
OPENAPI_EXPLORER_PREFIX
- See Also:
-
-
Method Details
-
render
public String render(String template, @Nullable @Nullable io.micronaut.inject.visitor.VisitorContext context) - Specified by:
render
in classAbstractViewConfig
-
getConverter
Description copied from class:AbstractViewConfig
Returns the converter associated with the key.- Specified by:
getConverter
in classAbstractViewConfig
- Parameters:
key
- A key.- Returns:
- A converter or null.
-
getResources
- Specified by:
getResources
in classAbstractViewConfig
-