class CustomRaml08WebApiContext extends Raml08WebApiContext
- Alphabetic
- By Inheritance
- CustomRaml08WebApiContext
- Raml08WebApiContext
- RamlWebApiContext
- RamlSpecAwareContext
- WebApiContext
- IllegalTypeHandler
- ParseErrorHandler
- JsonSchemaInference
- PlatformSecrets
- SpecAwareContext
- DeclarationContext
- ExtensionsContext
- DataNodeParserContext
- ParserContext
- Serializable
- Serializable
- Product
- Equals
- UnresolvedComponents
- ErrorHandlingContext
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CustomRaml08WebApiContext(config: AMFGraphConfiguration)
Type Members
-
case class
WebApiSemanticExtensionsFacadeBuilder(annotationSchemaValidatorBuilder: AnnotationSchemaValidatorBuilder) extends SemanticExtensionsFacadeBuilder with Product with Serializable
- Definition Classes
- WebApiContext
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from CustomRaml08WebApiContext to any2stringadd[CustomRaml08WebApiContext] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (CustomRaml08WebApiContext, B)
- Implicit
- This member is added by an implicit conversion from CustomRaml08WebApiContext to ArrowAssoc[CustomRaml08WebApiContext] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
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): CustomRaml08WebApiContext.this.type
- Definition Classes
- ParserContext
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
autoGeneratedAnnotation(s: Shape): Unit
- Definition Classes
- RamlWebApiContext → WebApiContext
-
def
clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
- Attributes
- protected
- Definition Classes
- Raml08WebApiContext → 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: AmfObject, ast: YMap, shape: String, syntax: SpecSyntax): Unit
- Attributes
- protected
- Definition Classes
- WebApiContext
-
def
closedShape(node: AmfObject, ast: YMap, shape: String): Unit
Validate closed shape.
Validate closed shape.
- Definition Classes
- WebApiContext
-
def
computeJsonSchemaVersion(ast: YNode): SchemaVersion
- Definition Classes
- WebApiContext
-
val
config: ParseConfiguration
- Definition Classes
- ParserContext
-
var
contextType: RamlWebApiContextType
- Definition Classes
- RamlWebApiContext
-
def
copyWithSonsReferences(): ParserContext
- Definition Classes
- ParserContext
-
val
declarations: RamlWebApiDeclarations
- Definition Classes
- RamlWebApiContext → DeclarationContext → ExtensionsContext
-
val
declarationsOption: Option[WebApiDeclarations]
- Definition Classes
- ExtensionsContext
-
val
defaultSchemaVersion: SchemaVersion
- Definition Classes
- WebApiContext → JsonSchemaInference
-
implicit
val
eh: AMFErrorHandler
- Definition Classes
- ErrorHandlingContext
-
def
ensuring(cond: (CustomRaml08WebApiContext) ⇒ Boolean, msg: ⇒ Any): CustomRaml08WebApiContext
- Implicit
- This member is added by an implicit conversion from CustomRaml08WebApiContext to Ensuring[CustomRaml08WebApiContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (CustomRaml08WebApiContext) ⇒ Boolean): CustomRaml08WebApiContext
- Implicit
- This member is added by an implicit conversion from CustomRaml08WebApiContext to Ensuring[CustomRaml08WebApiContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): CustomRaml08WebApiContext
- Implicit
- This member is added by an implicit conversion from CustomRaml08WebApiContext to Ensuring[CustomRaml08WebApiContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): CustomRaml08WebApiContext
- Implicit
- This member is added by an implicit conversion from CustomRaml08WebApiContext to Ensuring[CustomRaml08WebApiContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
extensionsFacadeBuilder: SemanticExtensionsFacadeBuilder
- Definition Classes
- WebApiContext
-
val
factory: RamlSpecVersionFactory
- Definition Classes
- Raml08WebApiContext → RamlWebApiContext → SpecAwareContext
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findAnnotation(key: String, scope: Scope): Option[CustomDomainProperty]
- Definition Classes
- ExtensionsContext → DataNodeParserContext
-
def
findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
- Attributes
- protected
- Definition Classes
- RamlWebApiContext
-
def
findJsonPathIn(index: AstIndex, path: String): Option[YMapEntryLike]
- Definition Classes
- WebApiContext
-
def
findJsonSchema(url: String): Option[AnyShape]
- Definition Classes
- WebApiContext
-
def
findLocalJSONPath(path: String): Option[YMapEntryLike]
- Definition Classes
- WebApiContext
-
def
forLocation(newLocation: String): ParserContext
- Definition Classes
- ParserContext
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from CustomRaml08WebApiContext to StringFormat[CustomRaml08WebApiContext] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
fragments: Map[String, FragmentRef]
- Definition Classes
- ExtensionsContext → DataNodeParserContext
-
val
futureDeclarations: FutureDeclarations
- Definition Classes
- ParserContext → UnresolvedComponents
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getEntryKey(entry: YMapEntry): String
- Definition Classes
- WebApiContext
-
def
getMaxYamlReferences: Option[Int]
- Definition Classes
- ExtensionsContext → DataNodeParserContext
-
var
globalMediatype: Boolean
- Definition Classes
- RamlWebApiContext
-
var
globalSpace: Map[String, Any]
- Definition Classes
- ParserContext
-
def
handle(location: SourceLocation, e: SyamlException): Unit
- Definition Classes
- WebApiContext → ParseErrorHandler
-
def
handle[T](error: YError, defaultValue: T): T
- Definition Classes
- WebApiContext → IllegalTypeHandler
-
def
ignore(shape: String, property: String): Boolean
- Definition Classes
- RamlWebApiContext → WebApiContext
-
var
indexCache: Map[String, AstIndex]
- Definition Classes
- 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 → ExtensionsContext
-
var
localJSONSchemaContext: Option[YNode]
- Definition Classes
- WebApiContext
-
def
mergeAllOperationContexts(): Unit
- Definition Classes
- RamlWebApiContext
-
def
mergeContext(subContext: RamlWebApiContext): Unit
- Definition Classes
- RamlWebApiContext
-
def
mergeOperationContext(operation: AmfObject): Unit
- Definition Classes
- RamlWebApiContext
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nextValidation(node: AmfObject, shape: String, ast: YMap): Unit
- Attributes
- protected
- Definition Classes
- WebApiContext
-
val
nodeRefIds: Map[YNode, String]
- Definition Classes
- ExtensionsContext
-
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[AmfObject, RamlWebApiContext]
- Definition Classes
- RamlWebApiContext
-
val
options: ParsingOptions
- Definition Classes
- ExtensionsContext
-
def
parseRemoteOasParameter(fileUrl: String, parentId: String)(implicit ctx: OasWebApiContext): Option[OasParameter]
- Definition Classes
- WebApiContext
-
def
parseSchemaVersion(ast: YNode, errorHandler: AMFErrorHandler): SchemaVersion
- Definition Classes
- JsonSchemaInference
-
def
parsingOptions: ParsingOptions
- Definition Classes
- ParserContext
-
val
platform: Platform
- Definition Classes
- PlatformSecrets
-
val
refs: Seq[ParsedReference]
- Definition Classes
- ParserContext
-
def
registerJsonSchema(url: String, shape: AnyShape): Unit
- Definition Classes
- WebApiContext
-
val
rootContextDocument: String
- Definition Classes
- ParserContext
-
def
setJsonSchemaAST(value: YNode): Unit
- Definition Classes
- WebApiContext
-
val
spec: Spec
- Definition Classes
- Raml08WebApiContext → WebApiContext
-
def
supportsAnnotations: Boolean
- Attributes
- protected
- Definition Classes
- Raml08WebApiContext → RamlWebApiContext
-
val
syamleh: SyamlAMFErrorHandler
- Definition Classes
- WebApiContext
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
syntax: SpecSyntax
- Definition Classes
- Raml08WebApiContext → WebApiContext
-
def
throwClosedShapeError(node: AmfObject, message: String, entry: YPart, isWarning: Boolean = false): Unit
- Attributes
- protected
- Definition Classes
- WebApiContext
-
def
validateRefFormatWithError(ref: String): Boolean
- Definition Classes
- WebApiContext
-
def
violation(violationId: ValidationSpecification, node: AmfObject, message: String): Unit
- Definition Classes
- ParserContext → ErrorHandlingContext
-
def
violation(violationId: ValidationSpecification, node: String, message: String): Unit
- Definition Classes
- ParserContext → ErrorHandlingContext
-
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
- Raml08WebApiContext → RamlWebApiContext
-
def
→[B](y: B): (CustomRaml08WebApiContext, B)
- Implicit
- This member is added by an implicit conversion from CustomRaml08WebApiContext to ArrowAssoc[CustomRaml08WebApiContext] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc