public class CarbonServerConfig extends Object implements org.wso2.carbon.mediation.commons.rest.api.swagger.ServerConfig
Constructor and Description |
---|
CarbonServerConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getHost(org.apache.synapse.api.API api)
Function to retrieve host for the swagger definition
Host is extracted from following sources
1.
|
String |
getHost(String transport) |
public String getHost(org.apache.synapse.api.API api) throws org.apache.axis2.AxisFault
getHost
in interface org.wso2.carbon.mediation.commons.rest.api.swagger.ServerConfig
api
- api that required to retrieve hostorg.apache.axis2.AxisFault
Copyright © 2021 WSO2. All rights reserved.