public class AbstractSwaggerIndexTransformer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected SwaggerUiConfigProperties |
swaggerUiConfig |
protected SwaggerUiOAuthProperties |
swaggerUiOAuthProperties |
| Constructor and Description |
|---|
AbstractSwaggerIndexTransformer(SwaggerUiConfigProperties swaggerUiConfig,
SwaggerUiOAuthProperties swaggerUiOAuthProperties,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addInitOauth(String html) |
protected String |
overwriteSwaggerDefaultUrl(String html) |
protected String |
readFullyAsString(InputStream inputStream) |
protected SwaggerUiOAuthProperties swaggerUiOAuthProperties
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected SwaggerUiConfigProperties swaggerUiConfig
public AbstractSwaggerIndexTransformer(SwaggerUiConfigProperties swaggerUiConfig, SwaggerUiOAuthProperties swaggerUiOAuthProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
protected String addInitOauth(String html) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionprotected String readFullyAsString(InputStream inputStream) throws IOException
IOExceptionCopyright © 2020 Pivotal Software, Inc.. All rights reserved.