| 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 |
BallerinaOpenAPIObject.buildContext(D definition,
ExtendedAPI api)
Build the Ballerina context model
C for Open APIDetailedDTO definition/component in D. |
BallerinaService |
BallerinaService.buildContext(io.swagger.v3.oas.models.OpenAPI definition,
ExtendedAPI api) |
BallerinaOperation |
BallerinaOperation.buildContext(io.swagger.v3.oas.models.Operation operation,
ExtendedAPI api) |
BallerinaParameter |
BallerinaParameter.buildContext(io.swagger.v3.oas.models.parameters.Parameter parameter,
ExtendedAPI api) |
BallerinaPath |
BallerinaPath.buildContext(io.swagger.v3.oas.models.PathItem item,
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 ExtendedAPI |
OpenAPICodegenUtils.generateAPIFromOpenAPIDef(io.swagger.v3.oas.models.OpenAPI openAPI,
Path openAPIPath)
generate ExtendedAPI object from openAPI definition
|
| Modifier and Type | Method and Description |
|---|---|
static void |
OpenAPICodegenUtils.setAdditionalConfig(ExtendedAPI api) |
static void |
OpenAPICodegenUtils.setAdditionalConfigsDevFirst(ExtendedAPI api,
io.swagger.v3.oas.models.OpenAPI openAPI,
String openAPIFilePath) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GatewayCmdUtils.saveSwaggerDefinitionForMultipleAPIs(String projectName,
List<ExtendedAPI> apis)
Save swagger definition for multiple APIs.
|
Copyright © 2019 WSO2. All rights reserved.