public class SwaggerYamlProcessor extends SwaggerGenerator implements org.wso2.carbon.core.transports.HttpGetRequestProcessor
Constructor and Description |
---|
SwaggerYamlProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.wso2.carbon.core.transports.CarbonHttpRequest request,
org.wso2.carbon.core.transports.CarbonHttpResponse response,
org.apache.axis2.context.ConfigurationContext configurationContext)
Process incoming GET request and update the response with the swagger definition for the requested API.
|
getAPIFromSynapseConfig, getApiNameFromRequestUri, handleException, updateResponse
public void process(org.wso2.carbon.core.transports.CarbonHttpRequest request, org.wso2.carbon.core.transports.CarbonHttpResponse response, org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault
process
in interface org.wso2.carbon.core.transports.HttpGetRequestProcessor
request
- CarbonHttpRequest contains request informationresponse
- CarbonHttpResponse which will be updated with response informationconfigurationContext
- axis2 configuration contextException
- if any exception occurred during definition generationorg.apache.axis2.AxisFault
Copyright © 2018 WSO2. All rights reserved.