public abstract class BaseRamlGrammar extends BaseGrammar
| Modifier and Type | Field and Description |
|---|---|
static String |
MIME_TYPE_REGEX |
static String |
RESOURCE_TYPES_KEY_NAME |
static String |
SECURITY_SCHEMES_KEY_NAME |
static String |
TRAITS_KEY_NAME |
static String |
USES_KEY_NAME |
| Constructor and Description |
|---|
BaseRamlGrammar() |
allOf, any, anyOf, anyOf, anyOf, array, booleanType, field, fieldWithRequiredValue, firstOf, floatType, integer, integerType, is, minLength, not, nullValue, numberType, objectType, objectType, optional, parentKey, range, ref, regex, requiredField, scalarType, string, stringType, 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 SECURITY_SCHEMES_KEY_NAME
public static final String MIME_TYPE_REGEX
public ObjectRule raml()
public ObjectRule untitledRaml()
protected KeyValueRule baseUriParametersField()
protected KeyValueRule baseUriField()
protected KeyValueRule titleField()
protected KeyValueRule resourceField()
protected KeyValueRule versionField()
protected KeyValueRule mediaTypeField()
public Rule resourceType()
public Rule resourceTypeParamsResolved()
protected Rule documentations()
public Rule documentation()
protected KeyValueRule contentField()
protected Rule securitySchemes()
protected Rule securityScheme()
protected ObjectRule securitySchemePart()
protected Rule securitySchemeSettings()
protected abstract Rule traitsValue()
public Rule trait()
protected Rule resourceTypes()
protected ObjectRule resourceValue()
protected ObjectRule baseResourceValue()
protected Rule schemas()
protected ObjectRule methodValue()
protected StringValueRule responseKey()
protected StringValueRule queryStringKey()
protected StringValueRule queryParametersKey()
protected Rule responses()
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 stringExcluding(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 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 RegexValueRule 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 anyBuiltinType()
protected AnyOfRule anyResourceTypeMethod()
protected Rule protocols()
protected Rule responseCodes()
Copyright © 2016. All rights reserved.