c

amf.plugins.document.webapi.contexts

ExtensionLikeWebApiContext

class ExtensionLikeWebApiContext extends Raml10WebApiContext

Linear Supertypes
Raml10WebApiContext, RamlWebApiContext, RamlSpecAwareContext, WebApiContext, PlatformSecrets, SpecAwareContext, ParserContext, Serializable, Serializable, Product, Equals, ErrorHandler, ParseErrorHandler, IllegalTypeHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtensionLikeWebApiContext
  2. Raml10WebApiContext
  3. RamlWebApiContext
  4. RamlSpecAwareContext
  5. WebApiContext
  6. PlatformSecrets
  7. SpecAwareContext
  8. ParserContext
  9. Serializable
  10. Serializable
  11. Product
  12. Equals
  13. ErrorHandler
  14. ParseErrorHandler
  15. IllegalTypeHandler
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtensionLikeWebApiContext(loc: String, refs: Seq[ParsedReference], wrapped: ParserContext, ds: Option[RamlWebApiDeclarations] = None, parentDeclarations: RamlWebApiDeclarations, parserCount: Option[Int] = None, contextType: RamlWebApiContextType = RamlWebApiContextType.DEFAULT)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
  5. def addSonRef(ref: BaseUnit): ExtensionLikeWebApiContext.this.type
    Definition Classes
    ParserContext
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def basePath(path: String): String
    Definition Classes
    WebApiContext
  8. def clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
    Attributes
    protected
    Definition Classes
    ExtensionLikeWebApiContextRaml10WebApiContextRamlWebApiContext
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. 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
  11. def closedShape(node: String, ast: YMap, shape: String): Unit

    Validate closed shape.

    Validate closed shape.

    Definition Classes
    WebApiContext
  12. def computeJsonSchemaVersion(rootAst: YNode): JSONSchemaVersion
    Definition Classes
    WebApiContext
  13. var contextType: RamlWebApiContextType
    Definition Classes
    RamlWebApiContext
  14. def copyWithSonsReferences(): ParserContext
    Definition Classes
    ParserContext
  15. val declarations: ExtensionWebApiDeclarations
  16. val ds: Option[RamlWebApiDeclarations]
  17. val eh: Option[ErrorHandler]
    Definition Classes
    Raml10WebApiContextRamlWebApiContextWebApiContext → ParserContext
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. val factory: RamlSpecVersionFactory
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
    Attributes
    protected
    Definition Classes
    RamlWebApiContext
  22. def findJsonSchema(url: String): Option[AnyShape]
    Definition Classes
    WebApiContext
  23. def findLocalJSONPath(path: String): Option[(String, YNode)]
    Definition Classes
    WebApiContext
  24. def forLocation(newLocation: String): ParserContext
    Definition Classes
    ParserContext
  25. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. var globalMediatype: Boolean
    Definition Classes
    RamlWebApiContext
  28. var globalSpace: Map[String, Any]
    Definition Classes
    ParserContext
  29. def guiKey(message: String, location: Option[String], lexical: Option[LexicalInformation]): String
    Definition Classes
    ErrorHandler
  30. def handle(location: SourceLocation, e: SyamlException): Unit
    Definition Classes
    ErrorHandler → ParseErrorHandler
  31. final def handle(node: YPart, e: SyamlException): Unit
    Definition Classes
    ErrorHandler
  32. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    ErrorHandler → IllegalTypeHandler
  33. def ignore(shape: String, property: String): Boolean
    Definition Classes
    RamlWebApiContextWebApiContext
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def link(node: YNode): Either[String, YNode]
    Definition Classes
    RamlWebApiContextWebApiContext
  36. val loc: String
    Definition Classes
    RamlWebApiContextWebApiContext
  37. var localJSONSchemaContext: Option[YNode]
    Definition Classes
    WebApiContext
  38. def mergeAllOperationContexts(): Unit
    Definition Classes
    RamlWebApiContext
  39. def mergeContext(subContext: RamlWebApiContext): Unit
    Definition Classes
    RamlWebApiContext
  40. def mergeOperationContext(operation: String): Unit
    Definition Classes
    RamlWebApiContext
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def normalizedJsonPointer(url: String): String
    Attributes
    protected
    Definition Classes
    WebApiContext
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. def obtainRemoteYNode(ref: String)(implicit ctx: WebApiContext): Option[YNode]
    Definition Classes
    WebApiContext
  46. val operationContexts: Map[String, RamlWebApiContext]
    Definition Classes
    RamlWebApiContext
  47. val parentDeclarations: RamlWebApiDeclarations
  48. def parseRemoteJSONPath(fileUrl: String)(implicit ctx: OasWebApiContext): Option[AnyShape]
    Definition Classes
    WebApiContext
  49. def parseRemoteOasParameter(fileUrl: String, parentId: String)(implicit ctx: OasWebApiContext): Option[OasParameter]
    Definition Classes
    WebApiContext
  50. val parserCount: Int
    Definition Classes
    ParserContext
  51. def part(error: YError): YPart
    Attributes
    protected
    Definition Classes
    ErrorHandler
  52. val platform: Platform
    Definition Classes
    PlatformSecrets
  53. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  54. def registerJsonSchema(url: String, shape: AnyShape): Unit
    Definition Classes
    WebApiContext
  55. def reportConstraint(id: String, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation], level: String, location: Option[String]): Unit
    Definition Classes
    ParserContext → ErrorHandler
  56. var reportDisambiguation: Set[String]
    Definition Classes
    ParserContext
  57. def resolvedPath(base: String, str: String): String
    Definition Classes
    WebApiContext
  58. val rootContextDocument: String
    Definition Classes
    ParserContext
  59. def setJsonSchemaAST(value: YNode): Unit
    Definition Classes
    WebApiContext
  60. def supportsAnnotations: Boolean
    Attributes
    protected
    Definition Classes
    RamlWebApiContext
  61. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  62. val syntax: SpecSyntax
    Definition Classes
    Raml10WebApiContextWebApiContext
  63. val vendor: Vendor
    Definition Classes
    Raml10WebApiContextWebApiContext
  64. def violation(specification: ValidationSpecification, node: String, message: String): Unit
    Definition Classes
    ErrorHandler
  65. def violation(specification: ValidationSpecification, node: String, message: String, loc: SourceLocation): Unit
    Definition Classes
    ErrorHandler
  66. def violation(specification: ValidationSpecification, node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  67. def violation(spec: ValidationSpecification, n: String, prop: Option[String], msg: String, l: SourceLocation): Unit
    Definition Classes
    ErrorHandler
  68. def violation(spec: ValidationSpecification, node: String, prop: Option[String], msg: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  69. def violation(specification: ValidationSpecification, node: String, message: String, location: String): Unit
    Definition Classes
    ErrorHandler
  70. def violation(specification: ValidationSpecification, element: AmfObject, target: Option[String], message: String): Unit
    Definition Classes
    ErrorHandler
  71. def violation(specification: ValidationSpecification, node: String, message: String, annotations: Annotations): Unit
    Definition Classes
    ErrorHandler
  72. def violation(specification: ValidationSpecification, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation], location: Option[String]): Unit
    Definition Classes
    ErrorHandler
  73. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  76. def warning(specification: ValidationSpecification, node: String, message: String, annotations: Annotations): Unit
    Definition Classes
    ErrorHandler
  77. def warning(specification: ValidationSpecification, node: String, message: String, location: SourceLocation): Unit
    Definition Classes
    ErrorHandler
  78. def warning(specification: ValidationSpecification, node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  79. def warning(specification: ValidationSpecification, node: String, property: Option[String], message: String, part: YPart): Unit
    Definition Classes
    ErrorHandler
  80. def warning(specification: ValidationSpecification, node: String, property: Option[String], message: String, location: SourceLocation): Unit
    Definition Classes
    ErrorHandler
  81. def warning(spec: ValidationSpecification, element: AmfObject, target: Option[String], message: String): Unit
    Definition Classes
    ErrorHandler
  82. def warning(specification: ValidationSpecification, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation], location: Option[String]): Unit
    Definition Classes
    ErrorHandler
  83. val wrapped: ParserContext

Inherited from Raml10WebApiContext

Inherited from RamlWebApiContext

Inherited from RamlSpecAwareContext

Inherited from WebApiContext

Inherited from PlatformSecrets

Inherited from SpecAwareContext

Inherited from ParserContext

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ErrorHandler

Inherited from ParseErrorHandler

Inherited from IllegalTypeHandler

Inherited from AnyRef

Inherited from Any

Ungrouped