public class RamlParserUtils extends ParserUtils
IGNORE_ANNOTATION, OPERATION_NAME_ANNOTATION, PARAMETER_NAME_ANNOTATION| Modifier | Constructor and Description |
|---|---|
protected |
RamlParserUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAnnotatedOperationName(org.raml.v2.api.model.v10.methods.Method method) |
static String |
getAnnotatedParameterName(org.raml.v2.api.model.v10.datamodel.TypeDeclaration typeDeclaration) |
static String |
getCanonicalOperationName(org.raml.v2.api.model.v10.methods.Method method,
String friendlyName) |
static String |
getMethodDescription(org.raml.v2.api.model.v10.methods.Method method) |
static String |
getMethodDisplayName(org.raml.v2.api.model.v10.methods.Method method) |
static List<Parameter> |
getParameterList(List<org.raml.v2.api.model.v10.datamodel.TypeDeclaration> typeDeclarationParameters,
boolean setDefaultMediaTypes,
ParameterType parameterType,
JsonSchemaPool jsonSchemaPool) |
static List<Parameter> |
getParameterList(List<org.raml.v2.api.model.v10.datamodel.TypeDeclaration> typeDeclarationParameters,
ParameterType parameterType,
JsonSchemaPool jsonSchemaPool) |
static String |
getValueFromAnnotableString(org.raml.v2.api.model.v10.system.types.AnnotableStringType annotableString) |
static boolean |
isIgnored(org.raml.v2.api.model.v10.methods.Method method) |
getCanonicalNameFromFriendlyName, getCanonicalOperationName, getCapUnderscoreName, getJavaName, getParameterName, getSanitizedOperationName, getXmlName, getXmlSanitizedName, hasUriParameter, isReservedJavaWord, isReservedProcessorVariableName, isValidDevKitParameterName, removeDots, removeHyphens, removeJavaNameUnwantedCharacters, removeJavaPackageUnwantedCharacters, removeSpaces, removeSpacesAndHyphens, removeXmlUnwantedCharacters, splitCaps, splitCapsWithHypens, splitCapsWithUnderscorespublic static String getMethodDescription(org.raml.v2.api.model.v10.methods.Method method)
public static String getMethodDisplayName(org.raml.v2.api.model.v10.methods.Method method)
public static String getCanonicalOperationName(org.raml.v2.api.model.v10.methods.Method method, String friendlyName)
public static String getAnnotatedOperationName(org.raml.v2.api.model.v10.methods.Method method)
public static String getAnnotatedParameterName(org.raml.v2.api.model.v10.datamodel.TypeDeclaration typeDeclaration)
public static List<Parameter> getParameterList(List<org.raml.v2.api.model.v10.datamodel.TypeDeclaration> typeDeclarationParameters, ParameterType parameterType, JsonSchemaPool jsonSchemaPool) throws Exception
Exceptionpublic static List<Parameter> getParameterList(List<org.raml.v2.api.model.v10.datamodel.TypeDeclaration> typeDeclarationParameters, boolean setDefaultMediaTypes, ParameterType parameterType, JsonSchemaPool jsonSchemaPool) throws Exception
Exceptionpublic static String getValueFromAnnotableString(org.raml.v2.api.model.v10.system.types.AnnotableStringType annotableString)
public static boolean isIgnored(org.raml.v2.api.model.v10.methods.Method method)
Copyright © 2022. All rights reserved.