abstract class RamlWebApiContext extends WebApiContext with RamlSpecAwareContext
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- RamlWebApiContext
- RamlSpecAwareContext
- WebApiContext
- SpecAwareContext
- ParserContext
- Serializable
- Serializable
- Product
- Equals
- ErrorHandler
- ParseErrorHandler
- IllegalTypeHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RamlWebApiContext(wrapped: ParserContext, ds: Option[WebApiDeclarations] = None)
Abstract Value Members
- abstract val factory: RamlSpecVersionFactory
-
abstract
val
syntax: SpecSyntax
- Definition Classes
- WebApiContext
-
abstract
val
vendor: Vendor
- Definition Classes
- WebApiContext
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
closedRamlTypeShape(shape: Shape, ast: YMap, shapeType: String, annotation: Boolean = false): Unit
raml types nodes are different from other shapes because they can have 'custom facets' essentially, client defined constraints expressed as additional properties syntactically in the type definition.
raml types nodes are different from other shapes because they can have 'custom facets' essentially, client defined constraints expressed as additional properties syntactically in the type definition. The problem is that they cannot be recognised just looking into the AST as we do with annotations, so we need to first, compute them, and then, add them as additional valid properties to the set of properties that can be defined in the AST node
-
def
closedShape(node: String, ast: YMap, shape: String, annotation: Boolean = false): Unit
Validate closed shape.
Validate closed shape.
- Definition Classes
- WebApiContext
-
val
declarations: WebApiDeclarations
- Definition Classes
- WebApiContext
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
futureDeclarations: FutureDeclarations
- Definition Classes
- ParserContext
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
handle(node: YPart, e: SyamlException): Unit
- Definition Classes
- ErrorHandler → ParseErrorHandler
-
def
handle[T](error: YError, defaultValue: T): T
- Definition Classes
- ErrorHandler → IllegalTypeHandler
-
def
ignore(shape: String, property: String): Boolean
- Definition Classes
- RamlWebApiContext → WebApiContext
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
link(node: YNode): Either[String, YNode]
- Definition Classes
- RamlWebApiContext → WebApiContext
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
refs: Seq[ParsedReference]
- Definition Classes
- ParserContext
-
val
rootContextDocument: String
- Definition Classes
- ParserContext
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
violation(node: String, message: String, ast: YPart): Unit
- Definition Classes
- ErrorHandler
-
def
violation(id: String, node: String, message: String, ast: YPart): Unit
- Definition Classes
- ErrorHandler
-
def
violation(id: String, node: String, property: Option[String], message: String, ast: YPart): Unit
- Definition Classes
- ErrorHandler
-
def
violation(message: String, ast: YPart): Unit
- Definition Classes
- ErrorHandler
-
def
violation(id: String, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation]): Unit
- Definition Classes
- ErrorHandler
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
warning(node: String, message: String, ast: YPart): Unit
- Definition Classes
- ErrorHandler
-
def
warning(id: String, node: String, message: String, ast: YPart): Unit
- Definition Classes
- ErrorHandler
-
def
warning(id: String, node: String, property: Option[String], message: String, ast: YPart): Unit
- Definition Classes
- ErrorHandler
-
def
warning(message: String, ast: YPart): Unit
- Definition Classes
- ErrorHandler
-
def
warning(id: String, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation]): Unit
- Definition Classes
- ErrorHandler