public class OpenAPIDSLUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
buildCustomObjectTypeId(String httpMethod,
String openApiPath)
Simply concatenates httpMethod & the path values together separated by ":"
|
static String |
getHttpMethodFromCustomObjectTypeId(String customObjectTypeId)
Gets the configured HTTP method from the connector action / operation field.
|
static String |
getObjectTypeIdFromOperationId(io.swagger.v3.oas.models.OpenAPI api,
String operationId)
Given the operationId from the spec, this method retrieves the unique combination of httpMethod & the path
associated with it.
|
static String |
getPathFromCustomObjectTypeId(String customObjectTypeId)
Gets the configured Path to execute upon.
|
public static String getObjectTypeIdFromOperationId(io.swagger.v3.oas.models.OpenAPI api, String operationId)
public static String buildCustomObjectTypeId(String httpMethod, String openApiPath)
public static String getHttpMethodFromCustomObjectTypeId(String customObjectTypeId)
public static String getPathFromCustomObjectTypeId(String customObjectTypeId)