| 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) |
BallerinaPath |
BallerinaPath.buildContext(io.swagger.v3.oas.models.PathItem item,
ExtendedAPI api,
Boolean generateApiFaultResponses) |
BallerinaOperation |
BallerinaOperation.buildContextForNotAllowed(ExtendedAPI api)
This method is used to generate a dummy service for 405 responses.
|
BallerinaPath |
BallerinaPath.buildContextForNotFound(ExtendedAPI api) |
BallerinaOperation |
BallerinaOperation.buildContextForNotFound(ExtendedAPI api)
This method is used to generate a dummy service for 404 responses.
|
void |
BallerinaService.setApi(ExtendedAPI api) |
| 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.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 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 © 2023 WSO2. All rights reserved.