public class APIGenerator extends Object
| Constructor and Description |
|---|
APIGenerator(com.google.gson.JsonObject swaggerJson) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.synapse.rest.API |
generateSynapseAPI()
Generate API from provided swagger definition
|
org.apache.synapse.rest.API |
generateUpdatedSynapseAPI(org.apache.synapse.rest.API existingAPI)
Function to generate updated API extracting the implementation from an existing API
|
public org.apache.synapse.rest.API generateSynapseAPI()
throws APIGenException
APIGenExceptionpublic org.apache.synapse.rest.API generateUpdatedSynapseAPI(org.apache.synapse.rest.API existingAPI)
throws APIGenException
existingAPI - the existing API to extract resource implementationsAPIGenExceptionCopyright © 2019 WSO2. All rights reserved.