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
FieldsFields 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
-
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:
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
-