Class URLPathUtil


  • public class URLPathUtil
    extends Object
    • Field Detail

      • LOGGER

        protected static final org.slf4j.Logger LOGGER
      • DEFAULT_PATH

        public static String DEFAULT_PATH
      • DEFAULT_PORT

        public static String DEFAULT_PORT
    • Constructor Detail

      • URLPathUtil

        public URLPathUtil()
    • 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)