class Raml10WebApiContext extends RamlWebApiContext
- Alphabetic
- By Inheritance
- Raml10WebApiContext
- RamlWebApiContext
- RamlSpecAwareContext
- WebApiContext
- PlatformSecrets
- SpecAwareContext
- ParserContext
- Serializable
- Serializable
- Product
- Equals
- IllegalTypeHandler
- ParseErrorHandler
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Raml10WebApiContext(loc: String, refs: Seq[ParsedReference], wrapped: ParserContext, ds: Option[RamlWebApiDeclarations] = None, contextType: RamlWebApiContextType = RamlWebApiContextType.DEFAULT, options: ParsingOptions = ParsingOptions())
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
-
def
adapt[T](path: String)(k: (RamlWebApiContext) ⇒ T): T
Adapt this context for a nested library, used when evaluating resource type / traits Using a path to the library whose context is going to be looked up, e.g.
Adapt this context for a nested library, used when evaluating resource type / traits Using a path to the library whose context is going to be looked up, e.g. lib.TypeA
- Definition Classes
- RamlWebApiContext
-
def
addSonRef(ref: BaseUnit): Raml10WebApiContext.this.type
- Definition Classes
- ParserContext
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
autoGeneratedAnnotation(s: Shape): Unit
- Definition Classes
- RamlWebApiContext → WebApiContext
-
def
basePath(path: String): String
- Definition Classes
- WebApiContext
-
def
clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
- Attributes
- protected
- Definition Classes
- Raml10WebApiContext → RamlWebApiContext
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
closedRamlTypeShape(shape: Shape, ast: YMap, shapeType: String, typeInfo: TypeInfo): 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
- Definition Classes
- RamlWebApiContext
-
def
closedShape(node: String, ast: YMap, shape: String): Unit
Validate closed shape.
Validate closed shape.
- Definition Classes
- WebApiContext
-
def
computeJsonSchemaVersion(rootAst: YNode): JSONSchemaVersion
- Definition Classes
- WebApiContext
-
var
contextType: RamlWebApiContextType
- Definition Classes
- RamlWebApiContext
-
def
copyWithSonsReferences(): ParserContext
- Definition Classes
- ParserContext
-
val
declarations: RamlWebApiDeclarations
- Definition Classes
- RamlWebApiContext → WebApiContext
-
val
eh: ParserErrorHandler
- Definition Classes
- ParserContext
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
factory: RamlSpecVersionFactory
- Definition Classes
- Raml10WebApiContext → RamlWebApiContext → SpecAwareContext
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
- Attributes
- protected
- Definition Classes
- RamlWebApiContext
-
def
findJsonSchema(url: String): Option[AnyShape]
- Definition Classes
- WebApiContext
-
def
findLocalJSONPath(path: String): Option[(String, YNode)]
- Definition Classes
- WebApiContext
-
def
forLocation(newLocation: String): ParserContext
- Definition Classes
- ParserContext
-
val
futureDeclarations: FutureDeclarations
- Definition Classes
- ParserContext
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
var
globalMediatype: Boolean
- Definition Classes
- RamlWebApiContext
-
var
globalSpace: Map[String, Any]
- Definition Classes
- ParserContext
-
def
handle[T](error: YError, defaultValue: T): T
- Definition Classes
- ParserContext → IllegalTypeHandler
-
def
handle(location: SourceLocation, e: SyamlException): Unit
- Definition Classes
- ParserContext → ParseErrorHandler
-
def
ignore(shape: String, property: String): Boolean
- Definition Classes
- RamlWebApiContext → WebApiContext
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
var
jsonSchemaRefGuide: JsonSchemaRefGuide
- Definition Classes
- WebApiContext
-
def
link(node: YNode): Either[String, YNode]
- Definition Classes
- RamlWebApiContext → WebApiContext
-
val
loc: String
- Definition Classes
- RamlWebApiContext → WebApiContext
-
var
localJSONSchemaContext: Option[YNode]
- Definition Classes
- WebApiContext
-
def
mergeAllOperationContexts(): Unit
- Definition Classes
- RamlWebApiContext
-
def
mergeContext(subContext: RamlWebApiContext): Unit
- Definition Classes
- RamlWebApiContext
-
def
mergeOperationContext(operation: String): Unit
- Definition Classes
- RamlWebApiContext
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
normalizedJsonPointer(url: String): String
- Attributes
- protected
- Definition Classes
- WebApiContext
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
obtainRemoteYNode(ref: String, refAnnotations: Annotations = Annotations())(implicit ctx: WebApiContext): Option[YNode]
- Definition Classes
- WebApiContext
-
val
operationContexts: Map[String, RamlWebApiContext]
- Definition Classes
- RamlWebApiContext
-
val
options: ParsingOptions
- Definition Classes
- WebApiContext
-
def
parseRemoteOasParameter(fileUrl: String, parentId: String)(implicit ctx: OasWebApiContext): Option[OasParameter]
- Definition Classes
- WebApiContext
-
val
parserRun: Int
- Definition Classes
- ParserContext
-
val
platform: Platform
- Definition Classes
- PlatformSecrets
-
val
plugins: PluginContext
- Definition Classes
- ParserContext
-
val
refs: Seq[ParsedReference]
- Definition Classes
- ParserContext
-
def
registerJsonSchema(url: String, shape: AnyShape): Unit
- Definition Classes
- WebApiContext
-
def
resolvedPath(base: String, str: String): String
- Definition Classes
- WebApiContext
-
val
rootContextDocument: String
- Definition Classes
- ParserContext
-
def
setJsonSchemaAST(value: YNode): Unit
- Definition Classes
- WebApiContext
-
def
supportsAnnotations: Boolean
- Attributes
- protected
- Definition Classes
- RamlWebApiContext
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
syntax: SpecSyntax
- Definition Classes
- Raml10WebApiContext → WebApiContext
-
def
validateRefFormatWithError(ref: String): Boolean
- Definition Classes
- WebApiContext
-
val
vendor: Vendor
- Definition Classes
- Raml10WebApiContext → WebApiContext
-
def
violation(violationId: ValidationSpecification, node: String, message: String): Unit
- Definition Classes
- ParserContext
-
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( ... ) @native()
-
val
wrapped: ParserContext
- Definition Classes
- Raml10WebApiContext → RamlWebApiContext