public class URLPathUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PATH |
static String |
LOCAL_HOST |
protected static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
URLPathUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHost(io.swagger.v3.oas.models.OpenAPI openAPI) |
static String |
getScheme(io.swagger.v3.oas.models.OpenAPI openAPI,
CodegenConfig config) |
static URL |
getServerURL(io.swagger.v3.oas.models.OpenAPI openAPI) |
static URL |
getServerURL(io.swagger.v3.oas.models.OpenAPI openAPI,
CodegenConfig config) |
protected static final org.slf4j.Logger LOGGER
public static String DEFAULT_PATH
public static final String LOCAL_HOST
public static URL getServerURL(io.swagger.v3.oas.models.OpenAPI openAPI)
public static URL getServerURL(io.swagger.v3.oas.models.OpenAPI openAPI, CodegenConfig config)
public static String getScheme(io.swagger.v3.oas.models.OpenAPI openAPI, CodegenConfig config)
public static String getHost(io.swagger.v3.oas.models.OpenAPI openAPI)
Copyright © 2019. All rights reserved.