public class CommonUtils extends Object
| Constructor and Description |
|---|
CommonUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
extractResources(String projectName)
Extract resource artifacts from the jar file.
|
static String |
getOpenAPI(String apiName,
String apiVersion)
Provide open API definition as a json string for a particular API.
|
static Map<String,String> |
getOpenAPIMap()
Provide a map of all open APIs exposed by the gateway.
|
static String |
getQualifiedServiceName(String apiName,
String apiVersion) |
static String |
trimAPIName(String key) |
public static Map<String,String> getOpenAPIMap()
Map.public static String getOpenAPI(String apiName, String apiVersion)
apiName - Name of the API.apiVersion - Version of the API.String.public static void extractResources(String projectName) throws IOException
projectName - project name.IOExceptionpublic static String getQualifiedServiceName(String apiName, String apiVersion)
Copyright © 2024 WSO2. All rights reserved.