code: public String scheme(Object[] swaggerMethodArguments) {
          final String substitutedHost = applySubstitutions(rawHost, hostSubstitutions, swaggerMethodArguments, UrlEscapers.PATH_ESCAPER);
          final String[] substitutedHostParts = substitutedHost.split("://");
          return substitutedHostParts.length < 1 ? null : substitutedHostParts[0];
      }
docs: Get the scheme to use for HTTP requests for this Swagger method.
  
  @param swaggerMethodArguments the arguments to use for scheme/host substitutions.
  @return the final host to use for HTTP requests for this Swagger method.