| Modifier and Type | Method and Description |
|---|---|
void |
CodeGenerator.generate(String projectName,
List<ExtendedAPI> apis,
boolean overwrite)
Generates ballerina source for provided Open APIDetailedDTO Definition in
definitionPath. |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
List<ExtendedAPI> |
APIListDTO.getList() |
| Modifier and Type | Method and Description |
|---|---|
void |
APIListDTO.setList(List<ExtendedAPI> list) |
| Modifier and Type | Method and Description |
|---|---|
ExtendedAPI |
BallerinaService.getApi() |
| Modifier and Type | Method and Description |
|---|---|
C |
BallerinaSwaggerObject.buildContext(D definition,
ExtendedAPI api)
Build the Ballerina context model
C for Open APIDetailedDTO definition/component in D. |
BallerinaOperation |
BallerinaOperation.buildContext(io.swagger.models.Operation operation,
ExtendedAPI api) |
BallerinaParameter |
BallerinaParameter.buildContext(io.swagger.models.parameters.Parameter parameter,
ExtendedAPI api) |
BallerinaPath |
BallerinaPath.buildContext(io.swagger.models.Path item,
ExtendedAPI api) |
BallerinaService |
BallerinaService.buildContext(io.swagger.models.Swagger definition,
ExtendedAPI api) |
void |
BallerinaService.setApi(ExtendedAPI api) |
| Modifier and Type | Method and Description |
|---|---|
ExtendedAPI |
RESTAPIService.getAPI(String apiName,
String version,
String accessToken)
Gets the API specified by name and version
|
ExtendedAPI |
RESTAPIServiceImpl.getAPI(String apiName,
String version,
String accessToken) |
| Modifier and Type | Method and Description |
|---|---|
List<ExtendedAPI> |
RESTAPIService.getAPIs(String labelName,
String accessToken)
Get APIs of given label
|
List<ExtendedAPI> |
RESTAPIServiceImpl.getAPIs(String labelName,
String accessToken) |
| Modifier and Type | Method and Description |
|---|---|
static void |
OpenApiCodegenUtils.setAdditionalConfigs(ExtendedAPI api) |
Copyright © 2019 WSO2. All rights reserved.