public abstract class BaseRamlGrammar extends BaseGrammar
| Modifier and Type | Field and Description |
|---|---|
static String |
MIME_TYPE_REGEX |
static String |
OAUTH_1_0 |
static String |
OAUTH_2_0 |
static String |
QUERY_PARAMETERS_KEY_NAME |
static String |
QUERY_STRING_KEY_NAME |
static String |
RESOURCE_TYPES_KEY_NAME |
static String |
SCHEMAS_KEY_NAME |
static String |
SECURITY_SCHEMES_KEY_NAME |
static String |
TRAITS_KEY_NAME |
static String |
TYPES_KEY_NAME |
static String |
USES_KEY_NAME |
| Constructor and Description |
|---|
BaseRamlGrammar() |
allOf, any, anyOf, anyOf, array, booleanType, exclusiveKeys, field, field, fieldWithRequiredValue, firstOf, inNewContext, integer, integerType, is, minLength, named, not, nullValue, numberType, objectType, optional, parentKey, positiveIntegerType, positiveNumberType, range, regex, regex, requiredField, scalarType, string, stringType, when, when, whenChildIs, whenPresentpublic static final String USES_KEY_NAME
public static final String RESOURCE_TYPES_KEY_NAME
public static final String TRAITS_KEY_NAME
public static final String TYPES_KEY_NAME
public static final String SCHEMAS_KEY_NAME
public static final String QUERY_PARAMETERS_KEY_NAME
public static final String QUERY_STRING_KEY_NAME
public static final String SECURITY_SCHEMES_KEY_NAME
public static final String MIME_TYPE_REGEX
public static final String OAUTH_1_0
public static final String OAUTH_2_0
public ObjectRule raml()
protected NodeReferenceRule nodeRef(String referenceKey)
public ObjectRule untitledRaml()
protected KeyValueRule baseUriParametersField()
protected KeyValueRule baseUriField()
protected KeyValueRule docTitleField()
protected KeyValueRule titleField()
protected Rule titleValue()
protected KeyValueRule resourceField()
protected KeyValueRule versionField()
protected Rule ramlScalarValue()
protected KeyValueRule mediaTypeField()
public ObjectRule resourceType()
public ObjectRule resourceTypeParamsResolved()
public ObjectRule traitParamsResolved()
protected Rule documentations()
public ObjectRule documentation()
protected KeyValueRule contentField()
protected Rule securitySchemes()
public ObjectRule securityScheme()
protected ObjectRule securitySchemePart()
protected ObjectRule securitySchemeSettings()
protected Rule authorizationGrantsValue()
protected Rule traitsValue()
public ObjectRule trait()
protected Rule resourceTypes()
protected ObjectRule resourceValue()
protected KeyValueRule methodField()
protected ObjectRule baseResourceValue()
protected ObjectRule methodValue()
protected KeyValueRule queryParametersField()
protected KeyValueRule responsesField()
protected StringValueRule responseKey()
protected StringValueRule queryStringKey()
protected StringValueRule queryParametersKey()
protected Rule responses()
protected KeyValueRule responseField()
protected ObjectRule response()
protected Rule body()
public KeyValueRule mimeTypeField()
public RegexValueRule mimeTypeRegex()
protected abstract Rule mimeType()
protected Rule parameters()
protected abstract Rule parameter()
protected ExclusiveSiblingRule exclusiveWith(String key, String... notAllowedSiblings)
protected KeyValueRule securitySchemesField()
protected abstract Rule securitySchemesValue()
protected StringValueRule securitySchemesKey()
protected KeyValueRule schemasField()
protected abstract Rule schemasValue()
protected StringValueRule schemasKey()
protected KeyValueRule resourceTypesField()
protected Rule resourceTypesValue()
protected StringValueRule resourceTypesKey()
protected KeyValueRule traitsField()
protected StringValueRule traitsKey()
protected KeyValueRule protocolsField()
protected StringValueRule protocolsKey()
protected KeyValueRule bodyField()
protected StringValueRule bodyKey()
protected KeyValueRule headersField()
protected StringValueRule headersKey()
protected KeyValueRule descriptionField()
protected Rule descriptionValue()
protected KeyValueRule displayNameField()
protected KeyValueRule securedByField()
protected KeyValueRule usageField()
protected KeyValueRule isField()
protected KeyValueRule resourceTypeReferenceField()
protected Rule anyTypeReference(String referenceKey, Class<? extends Node> simpleClass, Class<? extends Node> parametrisedClass)
protected StringValueRule titleKey()
protected Rule resourceKey()
protected StringValueRule usesKey()
protected StringValueRule uriParametersKey()
protected StringValueRule securedByKey()
protected StringValueRule typeKey()
protected StringValueRule securitySchemeTypeKey()
protected StringValueRule resourceTypeRefKey()
protected StringValueRule isKey()
protected StringValueRule displayNameKey()
protected StringValueRule descriptionKey()
protected StringValueRule documentationKey()
protected StringValueRule mediaTypeKey()
protected StringValueRule baseUriParametersKey()
protected StringValueRule baseUriKey()
protected StringValueRule versionKey()
protected AnyOfRule anyMethod()
protected AnyOfRule anyOptionalMethod()
protected AnyOfRule anyResourceTypeMethod()
protected Rule protocols()
protected Rule responseCodes()
Copyright © 2020. All rights reserved.