public interface CentraSiteExporter
Modifier and Type | Method and Description |
---|---|
void |
generateAPIFile(RESTService restAPI)
Generates the API file on the specific format and attach it to the given the REST API
|
void |
generateAPIFile(RESTService restAPI,
com.softwareag.centrasite.policy.model.APIPublishContext publishContext)
Generates the API file on the specific format and attach it to the given the REST API
Added for choosing endpoints based on Api-portal Sandbox chosen - INM-22569
|
java.lang.String |
generateSwaggerData(RESTService restAPI)
Generates the Swagger data as JSON string from the given REST or Virtual REST service.
|
void |
setToGenerateNativeURL(boolean toGenerateNativeURL)
Generate swagger with URLs from native service (if virtual)
|
void generateAPIFile(RESTService restAPI) throws CLLException
restAPI
- CLLException
void generateAPIFile(RESTService restAPI, com.softwareag.centrasite.policy.model.APIPublishContext publishContext) throws CLLException
restAPI
- CLLException
java.lang.String generateSwaggerData(RESTService restAPI) throws CLLException
restAPI
- CLLException
void setToGenerateNativeURL(boolean toGenerateNativeURL)
toGenerateNativeURL
- true: host and basePath from native service