Class URLPathUtil

java.lang.Object
io.swagger.codegen.v3.utils.URLPathUtil

public class URLPathUtil extends Object
  • Field Details

    • LOGGER

      protected static final org.slf4j.Logger LOGGER
    • DEFAULT_PATH

      public static String DEFAULT_PATH
    • DEFAULT_PORT

      public static String DEFAULT_PORT
    • LOCAL_HOST

      public static final String LOCAL_HOST
      See Also:
  • Constructor Details

    • URLPathUtil

      public URLPathUtil()
  • Method Details

    • 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)