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 ] ; }
Get the scheme to use for HTTP requests for this Swagger method .