| Package | Description |
|---|---|
| org.wso2.apimgt.gateway.cli.hashing | |
| org.wso2.apimgt.gateway.cli.model.rest.ext | |
| org.wso2.apimgt.gateway.cli.rest | |
| org.wso2.apimgt.gateway.cli.utils |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
HashUtils.detectChanges(List<ExtendedAPI> apis,
List<SubscriptionThrottlePolicyDTO> subscriptionPolicies,
List<ApplicationThrottlePolicyDTO> appPolicies,
String projectName)
Generate hashes for the specified apis, subscription and application policies, then compare with the previously
generated hashes and detect if there are changes with them.
|
| Constructor and Description |
|---|
ExtendedAPIWrapper(ExtendedAPI extendedAPI) |
| Modifier and Type | Method and Description |
|---|---|
ExtendedAPI |
RESTAPIServiceImpl.getAPI(String apiName,
String version,
String accessToken) |
ExtendedAPI |
RESTAPIService.getAPI(String apiName,
String version,
String accessToken)
Gets the API specified by name and version.
|
| Modifier and Type | Method and Description |
|---|---|
List<ExtendedAPI> |
RESTAPIServiceImpl.exportAPIs(String apiName,
String apiVersion,
String gatewayLabel,
String accessToken,
String projectName) |
List<ExtendedAPI> |
RESTAPIService.exportAPIs(String apiName,
String apiVersion,
String gatewayLabel,
String accessToken,
String projectName) |
List<ExtendedAPI> |
RESTAPIServiceImpl.getAPIs(String labelName,
String accessToken) |
List<ExtendedAPI> |
RESTAPIService.getAPIs(String labelName,
String accessToken)
Get APIs of given label.
|
| Modifier and Type | Method and Description |
|---|---|
static ExtendedAPI |
OpenAPICodegenUtils.generateAPIFromOpenAPIDef(io.swagger.v3.oas.models.OpenAPI openAPI,
String openAPIContent)
generate ExtendedAPI object from openAPI definition.
|
static ExtendedAPI |
OpenAPICodegenUtils.generateGrpcAPIFromOpenAPI(io.swagger.v3.oas.models.OpenAPI openAPI)
Generate
ExtendedAPI object from generated OpenAPI from protobuf file. |
| Modifier and Type | Method and Description |
|---|---|
static List<ExtendedAPI> |
RESTAPIUtils.getResponseAsExtendedApis(InputStream input,
String projectName)
Get input stream and convert it to an API project Object
|
| Modifier and Type | Method and Description |
|---|---|
static void |
OpenAPICodegenUtils.setAdditionalConfigsDevFirst(ExtendedAPI api,
io.swagger.v3.oas.models.OpenAPI openAPI,
String openAPIFilePath) |
| Modifier and Type | Method and Description |
|---|---|
static void |
CmdUtils.saveSwaggerDefinitionForMultipleAPIs(String projectName,
List<ExtendedAPI> apis,
boolean isExpand)
Save swagger definition for multiple APIs.
|
Copyright © 2024 WSO2. All rights reserved.