public class AMFParserUtil extends ParserUtils
DEFAULT_ANNOTATION, IGNORE_ANNOTATION, OPERATION_NAME_ANNOTATION, PARAMETER_NAME_ANNOTATION, PART_CONTENT_TYPE_ANNOTATION, PART_FILENAME_ANNOTATION, PART_FILENAME_PARAMETER_ANNOTATION, PART_NAME_ANNOTATION, PART_NAME_PARAMETER_ANNOTATION, RENEW_TOKEN_EXPRESSION_ANNOTATION, USER_SELECTED_SECURITY_SCHEMES_ANNOTATION| Constructor and Description |
|---|
AMFParserUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
elementContainsAnnotation(amf.client.model.domain.DomainElement element,
String annotationName) |
static amf.client.model.domain.Shape |
getActualShape(amf.client.model.domain.Shape shape) |
static String |
getAnnotatedOperationName(amf.client.model.domain.Operation operation) |
static String |
getAnnotatedParameterName(amf.client.model.domain.Parameter parameter) |
static String |
getAnnotatedPartContentType(amf.client.model.domain.Shape element) |
static String |
getAnnotatedPartFilename(amf.client.model.domain.Shape element) |
static String |
getAnnotatedPartFilenameParameter(amf.client.model.domain.Shape element) |
static String |
getAnnotatedPartName(amf.client.model.domain.Shape element) |
static String |
getAnnotatedPartNameParameter(amf.client.model.domain.Shape element) |
static String |
getAnnotatedRenewTokenExpression(amf.client.model.domain.SecurityScheme securityScheme) |
static String |
getAnnotationForElement(amf.client.model.domain.DomainElement element,
String annotationName) |
static String |
getCanonicalOperationName(amf.client.model.domain.EndPoint endPoint,
amf.client.model.domain.Operation operation,
String friendlyName) |
static String |
getMethodDisplayName(amf.client.model.domain.Operation operation) |
static List<Parameter> |
getParameterList(List<amf.client.model.domain.Parameter> amfParameters,
ParameterType parameterType,
JsonSchemaPool jsonSchemaPool) |
static String |
getStringAnnotationForElement(amf.client.model.domain.DomainElement element,
String annotationName) |
static boolean |
isDefault(amf.client.model.domain.Payload payload) |
static boolean |
isIgnored(amf.client.model.domain.EndPoint endPoint,
amf.client.model.domain.Operation operation) |
static boolean |
isUserSelectedSecuritySchemes(amf.client.model.domain.EndPoint endPoint,
amf.client.model.domain.Operation operation,
amf.client.model.domain.WebApi api) |
getCanonicalNameFromFriendlyName, getCanonicalOperationName, getCapUnderscoreName, getJavaName, getParameterName, getSanitizedOperationName, getXmlName, getXmlSanitizedName, hasUriParameter, isReservedJavaWord, isReservedProcessorVariableName, isValidDevKitParameterName, removeDots, removeHyphens, removeJavaNameUnwantedCharacters, removeJavaNameUnwantedCharacters, removeJavaPackageUnwantedCharacters, removeMavenArtifactUnwantedCharacters, removeMavenGroupUnwantedCharacters, removeMavenVersionUnwantedCharacters, removeSpaces, removeSpacesAndHyphens, removeXmlUnwantedCharacters, splitCaps, splitCapsWithHypens, splitCapsWithUnderscores, splitNumbersAndLetterspublic static String getMethodDisplayName(amf.client.model.domain.Operation operation)
public static String getCanonicalOperationName(amf.client.model.domain.EndPoint endPoint, amf.client.model.domain.Operation operation, String friendlyName)
public static String getAnnotatedParameterName(amf.client.model.domain.Parameter parameter)
public static String getAnnotatedOperationName(amf.client.model.domain.Operation operation)
public static String getAnnotatedRenewTokenExpression(amf.client.model.domain.SecurityScheme securityScheme)
public static String getAnnotatedPartContentType(amf.client.model.domain.Shape element)
public static String getAnnotatedPartFilename(amf.client.model.domain.Shape element)
public static String getAnnotatedPartName(amf.client.model.domain.Shape element)
public static String getAnnotatedPartFilenameParameter(amf.client.model.domain.Shape element)
public static String getAnnotatedPartNameParameter(amf.client.model.domain.Shape element)
public static String getStringAnnotationForElement(amf.client.model.domain.DomainElement element, String annotationName)
public static String getAnnotationForElement(amf.client.model.domain.DomainElement element, String annotationName)
public static boolean elementContainsAnnotation(amf.client.model.domain.DomainElement element,
String annotationName)
public static boolean isDefault(amf.client.model.domain.Payload payload)
public static boolean isIgnored(amf.client.model.domain.EndPoint endPoint,
amf.client.model.domain.Operation operation)
public static boolean isUserSelectedSecuritySchemes(amf.client.model.domain.EndPoint endPoint,
amf.client.model.domain.Operation operation,
amf.client.model.domain.WebApi api)
public static List<Parameter> getParameterList(List<amf.client.model.domain.Parameter> amfParameters, ParameterType parameterType, JsonSchemaPool jsonSchemaPool) throws GenerationException
GenerationExceptionpublic static amf.client.model.domain.Shape getActualShape(amf.client.model.domain.Shape shape)
Copyright © 2022. All rights reserved.