Packages

abstract class RamlWebApiContext extends WebApiContext with RamlSpecAwareContext

Linear Supertypes
RamlSpecAwareContext, WebApiContext, JsonSchemaInference, PlatformSecrets, SpecAwareContext, DeclarationContext, ExtensionsContext, DataNodeParserContext, ParserContext, Serializable, Serializable, Product, Equals, UnresolvedComponents, ErrorHandlingContext, IllegalTypeHandler, ParseErrorHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RamlWebApiContext
  2. RamlSpecAwareContext
  3. WebApiContext
  4. JsonSchemaInference
  5. PlatformSecrets
  6. SpecAwareContext
  7. DeclarationContext
  8. ExtensionsContext
  9. DataNodeParserContext
  10. ParserContext
  11. Serializable
  12. Serializable
  13. Product
  14. Equals
  15. UnresolvedComponents
  16. ErrorHandlingContext
  17. IllegalTypeHandler
  18. ParseErrorHandler
  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)

Abstract Value Members

  1. abstract def clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
    Attributes
    protected
  2. abstract val factory: RamlSpecVersionFactory
    Definition Classes
    RamlWebApiContextSpecAwareContext
  3. abstract val syntax: SpecSyntax
    Definition Classes
    WebApiContext
  4. abstract val vendor: Vendor
    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: String, ast: YMap, shape: String, syntax: SpecSyntax): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  13. def closedShape(node: String, 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: JSONSchemaVersion
    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. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def findAnnotation(key: String, scope: Scope): Option[CustomDomainProperty]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  29. def findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
    Attributes
    protected
  30. def findJsonPathIn(index: AstIndex, path: String): Option[YMapEntryLike]
    Definition Classes
    WebApiContext
  31. def findJsonSchema(url: String): Option[AnyShape]
    Definition Classes
    WebApiContext
  32. def findLocalJSONPath(path: String): Option[YMapEntryLike]
    Definition Classes
    WebApiContext
  33. def forLocation(newLocation: String): ParserContext
    Definition Classes
    ParserContext
  34. 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()
  35. def fragments: Map[String, FragmentRef]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  36. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext → UnresolvedComponents
  37. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def getEntryKey(entry: YMapEntry): String
    Definition Classes
    WebApiContext
  39. def getMaxYamlReferences: Option[Int]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  40. var globalMediatype: Boolean
  41. var globalSpace: Map[String, Any]
    Definition Classes
    ParserContext
  42. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    ParserContext → ErrorHandlingContext → IllegalTypeHandler
  43. def handle(location: SourceLocation, e: SyamlException): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext → ParseErrorHandler
  44. def ignore(shape: String, property: String): Boolean
    Definition Classes
    RamlWebApiContextWebApiContext
  45. var indexCache: Map[String, AstIndex]
    Definition Classes
    WebApiContext
  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. var jsonSchemaRefGuide: JsonSchemaRefGuide
    Definition Classes
    WebApiContext
  48. def link(node: YNode): Either[String, YNode]
    Definition Classes
    RamlWebApiContextWebApiContext
  49. val loc: String
    Definition Classes
    RamlWebApiContextExtensionsContext
  50. var localJSONSchemaContext: Option[YNode]
    Definition Classes
    WebApiContext
  51. def mergeAllOperationContexts(): Unit
  52. def mergeContext(subContext: RamlWebApiContext): Unit
  53. def mergeOperationContext(operation: String): Unit
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. def nextValidation(node: String, shape: String, ast: YMap): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  56. val nodeRefIds: Map[YNode, String]
    Definition Classes
    ExtensionsContext
  57. def normalizedJsonPointer(url: String): String
    Attributes
    protected
    Definition Classes
    WebApiContext
  58. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  59. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. def obtainRemoteYNode(ref: String, refAnnotations: Annotations = Annotations())(implicit ctx: WebApiContext): Option[YNode]
    Definition Classes
    WebApiContext
  61. val operationContexts: Map[String, RamlWebApiContext]
  62. val options: ParsingOptions
    Definition Classes
    ExtensionsContext
  63. def parseRemoteOasParameter(fileUrl: String, parentId: String)(implicit ctx: OasWebApiContext): Option[OasParameter]
    Definition Classes
    WebApiContext
  64. def parseSchemaVersion(ast: YNode, errorHandler: AMFErrorHandler): SchemaVersion
    Definition Classes
    JsonSchemaInference
  65. def parsingOptions: ParsingOptions
    Definition Classes
    ParserContext
  66. val platform: Platform
    Definition Classes
    PlatformSecrets
  67. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  68. def registerJsonSchema(url: String, shape: AnyShape): Unit
    Definition Classes
    WebApiContext
  69. val rootContextDocument: String
    Definition Classes
    ParserContext
  70. def setJsonSchemaAST(value: YNode): Unit
    Definition Classes
    WebApiContext
  71. def supportsAnnotations: Boolean
    Attributes
    protected
  72. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  73. def throwClosedShapeError(node: String, message: String, entry: YPart, isWarning: Boolean = false): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  74. def validateRefFormatWithError(ref: String): Boolean
    Definition Classes
    WebApiContext
  75. def violation(violationId: ValidationSpecification, node: String, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  76. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  79. val wrapped: ParserContext
  80. 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 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 IllegalTypeHandler

Inherited from ParseErrorHandler

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