public class SwaggerIndexPageTransformer extends org.springdoc.ui.AbstractSwaggerIndexTransformer implements SwaggerIndexTransformer
Constructor and Description |
---|
SwaggerIndexPageTransformer(org.springdoc.core.SwaggerUiConfigProperties swaggerUiConfig,
org.springdoc.core.SwaggerUiOAuthProperties swaggerUiOAuthProperties,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Instantiates a new Swagger index transformer.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.core.io.Resource |
transform(javax.servlet.http.HttpServletRequest request,
org.springframework.core.io.Resource resource,
org.springframework.web.servlet.resource.ResourceTransformerChain transformerChain) |
public SwaggerIndexPageTransformer(org.springdoc.core.SwaggerUiConfigProperties swaggerUiConfig, org.springdoc.core.SwaggerUiOAuthProperties swaggerUiOAuthProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
swaggerUiConfig
- the swagger ui configswaggerUiOAuthProperties
- the swagger ui o auth propertiesobjectMapper
- the object mapperpublic org.springframework.core.io.Resource transform(javax.servlet.http.HttpServletRequest request, org.springframework.core.io.Resource resource, org.springframework.web.servlet.resource.ResourceTransformerChain transformerChain) throws IOException
transform
in interface org.springframework.web.servlet.resource.ResourceTransformer
IOException
Copyright © 2020. All rights reserved.