Search
Plugins > HTTP-REST 2.2.2 > RESTHostManager > createRESTHostFromSwaggerSpecUrl

Method createRESTHostFromSwaggerSpecUrl(String hostName, String swaggerSpecUrl, AuthorizationValue[] auths, String preferredCommunicationProtocol, java.util.Map params)

Adds a new operation from a URL.

Returns

RESTHost

Arguments

Name Type Description
hostName String The name of the new REST host
swaggerSpecUrl String The URL of the Swagger spec web resource
auths AuthorizationValue[] Authorization values
preferredCommunicationProtocol String Preferred protocol - HTTP or HTTPS
params java.util.Map