Package io.swagger.codegen.v3.utils
Class URLPathUtil
- java.lang.Object
 - 
- io.swagger.codegen.v3.utils.URLPathUtil
 
 
- 
public class URLPathUtil extends Object
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_PATHstatic StringLOCAL_HOSTprotected static org.slf4j.LoggerLOGGER 
- 
Constructor Summary
Constructors Constructor Description URLPathUtil() 
- 
Method Summary
Modifier and Type Method Description static StringgetHost(io.swagger.v3.oas.models.OpenAPI openAPI)static StringgetScheme(io.swagger.v3.oas.models.OpenAPI openAPI, CodegenConfig config)static URLgetServerURL(io.swagger.v3.oas.models.OpenAPI openAPI)static URLgetServerURL(io.swagger.v3.oas.models.OpenAPI openAPI, CodegenConfig config) 
 - 
 
- 
- 
Field Detail
- 
LOGGER
protected static final org.slf4j.Logger LOGGER
 
- 
DEFAULT_PATH
public static String DEFAULT_PATH
 
- 
LOCAL_HOST
public static final String LOCAL_HOST
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getServerURL
public static URL getServerURL(io.swagger.v3.oas.models.OpenAPI openAPI)
 
- 
getServerURL
public static URL getServerURL(io.swagger.v3.oas.models.OpenAPI openAPI, CodegenConfig config)
 
- 
getScheme
public static String getScheme(io.swagger.v3.oas.models.OpenAPI openAPI, CodegenConfig config)
 
- 
getHost
public static String getHost(io.swagger.v3.oas.models.OpenAPI openAPI)
 
 - 
 
 -