Packages

abstract class RamlWebApiContext extends WebApiContext with RamlSpecAwareContext

Linear Supertypes
RamlSpecAwareContext, WebApiContext, IllegalTypeHandler, ParseErrorHandler, JsonSchemaInference, PlatformSecrets, SpecAwareContext, DeclarationContext, ExtensionsContext, DataNodeParserContext, ParserContext, Serializable, Serializable, Product, Equals, UnresolvedComponents, ErrorHandlingContext, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RamlWebApiContext
  2. RamlSpecAwareContext
  3. WebApiContext
  4. IllegalTypeHandler
  5. ParseErrorHandler
  6. JsonSchemaInference
  7. PlatformSecrets
  8. SpecAwareContext
  9. DeclarationContext
  10. ExtensionsContext
  11. DataNodeParserContext
  12. ParserContext
  13. Serializable
  14. Serializable
  15. Product
  16. Equals
  17. UnresolvedComponents
  18. ErrorHandlingContext
  19. AnyRef
  20. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RamlWebApiContext(loc: String, refs: Seq[ParsedReference], options: ParsingOptions, wrapped: ParserContext, ds: Option[RamlWebApiDeclarations] = None, contextType: RamlWebApiContextType = RamlWebApiContextType.DEFAULT)

Type Members

  1. case class WebApiSemanticExtensionsFacadeBuilder(annotationSchemaValidatorBuilder: AnnotationSchemaValidatorBuilder) extends SemanticExtensionsFacadeBuilder with Product with Serializable
    Definition Classes
    WebApiContext

Abstract Value Members

  1. abstract def clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
    Attributes
    protected
  2. abstract val factory: RamlSpecVersionFactory
    Definition Classes
    RamlWebApiContextSpecAwareContext
  3. abstract val spec: Spec
    Definition Classes
    WebApiContext
  4. abstract val syntax: SpecSyntax
    Definition Classes
    WebApiContext

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from RamlWebApiContext to any2stringadd[RamlWebApiContext] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RamlWebApiContext, B)
    Implicit
    This member is added by an implicit conversion from RamlWebApiContext to ArrowAssoc[RamlWebApiContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. 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

  7. def addSonRef(ref: BaseUnit): RamlWebApiContext.this.type
    Definition Classes
    ParserContext
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def autoGeneratedAnnotation(s: Shape): Unit
    Definition Classes
    RamlWebApiContextWebApiContext
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. 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

  12. def closedShape(node: AmfObject, ast: YMap, shape: String, syntax: SpecSyntax): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  13. def closedShape(node: AmfObject, ast: YMap, shape: String): Unit

    Validate closed shape.

    Validate closed shape.

    Definition Classes
    WebApiContext
  14. def computeJsonSchemaVersion(ast: YNode): SchemaVersion
    Definition Classes
    WebApiContext
  15. val config: ParseConfiguration
    Definition Classes
    ParserContext
  16. var contextType: RamlWebApiContextType
  17. def copyWithSonsReferences(): ParserContext
    Definition Classes
    ParserContext
  18. val declarations: RamlWebApiDeclarations
    Definition Classes
    RamlWebApiContext → DeclarationContext → ExtensionsContext
  19. val declarationsOption: Option[WebApiDeclarations]
    Definition Classes
    ExtensionsContext
  20. val defaultSchemaVersion: SchemaVersion
    Definition Classes
    WebApiContext → JsonSchemaInference
  21. implicit val eh: AMFErrorHandler
    Definition Classes
    ErrorHandlingContext
  22. def ensuring(cond: (RamlWebApiContext) ⇒ Boolean, msg: ⇒ Any): RamlWebApiContext
    Implicit
    This member is added by an implicit conversion from RamlWebApiContext to Ensuring[RamlWebApiContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: (RamlWebApiContext) ⇒ Boolean): RamlWebApiContext
    Implicit
    This member is added by an implicit conversion from RamlWebApiContext to Ensuring[RamlWebApiContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean, msg: ⇒ Any): RamlWebApiContext
    Implicit
    This member is added by an implicit conversion from RamlWebApiContext to Ensuring[RamlWebApiContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean): RamlWebApiContext
    Implicit
    This member is added by an implicit conversion from RamlWebApiContext to Ensuring[RamlWebApiContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. val extensionsFacadeBuilder: SemanticExtensionsFacadeBuilder
    Definition Classes
    WebApiContext
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def findAnnotation(key: String, scope: Scope): Option[CustomDomainProperty]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  30. def findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
    Attributes
    protected
  31. def findJsonPathIn(index: AstIndex, path: String): Option[YMapEntryLike]
    Definition Classes
    WebApiContext
  32. def findJsonSchema(url: String): Option[AnyShape]
    Definition Classes
    WebApiContext
  33. def findLocalJSONPath(path: String): Option[YMapEntryLike]
    Definition Classes
    WebApiContext
  34. def forLocation(newLocation: String): ParserContext
    Definition Classes
    ParserContext
  35. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from RamlWebApiContext to StringFormat[RamlWebApiContext] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  36. def fragments: Map[String, FragmentRef]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  37. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext → UnresolvedComponents
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. def getEntryKey(entry: YMapEntry): String
    Definition Classes
    WebApiContext
  40. def getMaxYamlReferences: Option[Int]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  41. var globalMediatype: Boolean
  42. var globalSpace: Map[String, Any]
    Definition Classes
    ParserContext
  43. def handle(location: SourceLocation, e: SyamlException): Unit
    Definition Classes
    WebApiContext → ParseErrorHandler
  44. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    WebApiContext → IllegalTypeHandler
  45. def ignore(shape: String, property: String): Boolean
    Definition Classes
    RamlWebApiContextWebApiContext
  46. var indexCache: Map[String, AstIndex]
    Definition Classes
    WebApiContext
  47. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  48. var jsonSchemaRefGuide: JsonSchemaRefGuide
    Definition Classes
    WebApiContext
  49. def link(node: YNode): Either[String, YNode]
    Definition Classes
    RamlWebApiContextWebApiContext
  50. val loc: String
    Definition Classes
    RamlWebApiContextExtensionsContext
  51. var localJSONSchemaContext: Option[YNode]
    Definition Classes
    WebApiContext
  52. def mergeAllOperationContexts(): Unit
  53. def mergeContext(subContext: RamlWebApiContext): Unit
  54. def mergeOperationContext(operation: AmfObject): Unit
  55. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. def nextValidation(node: AmfObject, shape: String, ast: YMap): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  57. val nodeRefIds: Map[YNode, String]
    Definition Classes
    ExtensionsContext
  58. def normalizedJsonPointer(url: String): String
    Attributes
    protected
    Definition Classes
    WebApiContext
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. def obtainRemoteYNode(ref: String, refAnnotations: Annotations = Annotations())(implicit ctx: WebApiContext): Option[YNode]
    Definition Classes
    WebApiContext
  62. val operationContexts: Map[AmfObject, RamlWebApiContext]
  63. val options: ParsingOptions
    Definition Classes
    ExtensionsContext
  64. def parseRemoteOasParameter(fileUrl: String, parentId: String)(implicit ctx: OasWebApiContext): Option[OasParameter]
    Definition Classes
    WebApiContext
  65. def parseSchemaVersion(ast: YNode, errorHandler: AMFErrorHandler): SchemaVersion
    Definition Classes
    JsonSchemaInference
  66. def parsingOptions: ParsingOptions
    Definition Classes
    ParserContext
  67. val platform: Platform
    Definition Classes
    PlatformSecrets
  68. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  69. def registerJsonSchema(url: String, shape: AnyShape): Unit
    Definition Classes
    WebApiContext
  70. val rootContextDocument: String
    Definition Classes
    ParserContext
  71. def setJsonSchemaAST(value: YNode): Unit
    Definition Classes
    WebApiContext
  72. def supportsAnnotations: Boolean
    Attributes
    protected
  73. val syamleh: SyamlAMFErrorHandler
    Definition Classes
    WebApiContext
  74. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  75. def throwClosedShapeError(node: AmfObject, message: String, entry: YPart, isWarning: Boolean = false): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  76. def validateRefFormatWithError(ref: String): Boolean
    Definition Classes
    WebApiContext
  77. def violation(violationId: ValidationSpecification, node: AmfObject, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  78. def violation(violationId: ValidationSpecification, node: String, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  79. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  82. val wrapped: ParserContext
  83. def [B](y: B): (RamlWebApiContext, B)
    Implicit
    This member is added by an implicit conversion from RamlWebApiContext to ArrowAssoc[RamlWebApiContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from RamlSpecAwareContext

Inherited from WebApiContext

Inherited from IllegalTypeHandler

Inherited from ParseErrorHandler

Inherited from JsonSchemaInference

Inherited from PlatformSecrets

Inherited from SpecAwareContext

Inherited from DeclarationContext

Inherited from ExtensionsContext

Inherited from DataNodeParserContext

Inherited from ParserContext

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from UnresolvedComponents

Inherited from ErrorHandlingContext

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RamlWebApiContext to any2stringadd[RamlWebApiContext]

Inherited by implicit conversion StringFormat from RamlWebApiContext to StringFormat[RamlWebApiContext]

Inherited by implicit conversion Ensuring from RamlWebApiContext to Ensuring[RamlWebApiContext]

Inherited by implicit conversion ArrowAssoc from RamlWebApiContext to ArrowAssoc[RamlWebApiContext]

Ungrouped