Packages

c

amf.plugins.document.webapi.contexts.parser.raml

ExtensionLikeWebApiContext

class ExtensionLikeWebApiContext extends Raml10WebApiContext

Linear Supertypes
Raml10WebApiContext, RamlWebApiContext, RamlSpecAwareContext, WebApiContext, JsonSchemaInference, PlatformSecrets, SpecAwareContext, ParserContext, Serializable, Serializable, Product, Equals, IllegalTypeHandler, ParseErrorHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtensionLikeWebApiContext
  2. Raml10WebApiContext
  3. RamlWebApiContext
  4. RamlSpecAwareContext
  5. WebApiContext
  6. JsonSchemaInference
  7. PlatformSecrets
  8. SpecAwareContext
  9. ParserContext
  10. Serializable
  11. Serializable
  12. Product
  13. Equals
  14. IllegalTypeHandler
  15. ParseErrorHandler
  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, options: ParsingOptions = ParsingOptions())

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 addDeclarationKey(key: DeclarationKey): Unit
    Definition Classes
    WebApiContext
  6. def addSonRef(ref: BaseUnit): ExtensionLikeWebApiContext.this.type
    Definition Classes
    ParserContext
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def autoGeneratedAnnotation(s: Shape): Unit
    Definition Classes
    RamlWebApiContextWebApiContext
  9. def basePath(path: String): String
    Definition Classes
    WebApiContext
  10. def clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
    Attributes
    protected
    Definition Classes
    ExtensionLikeWebApiContextRaml10WebApiContextRamlWebApiContext
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. 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
  13. def closedShape(node: String, ast: YMap, shape: String, syntax: SpecSyntax): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  14. def closedShape(node: String, ast: YMap, shape: String): Unit

    Validate closed shape.

    Validate closed shape.

    Definition Classes
    WebApiContext
  15. def computeJsonSchemaVersion(ast: YNode): SchemaVersion
    Definition Classes
    WebApiContext
  16. var contextType: RamlWebApiContextType
    Definition Classes
    RamlWebApiContext
  17. def copyWithSonsReferences(): ParserContext
    Definition Classes
    ParserContext
  18. val declarations: ExtensionWebApiDeclarations
  19. val defaultSchemaVersion: JSONSchemaVersion
    Definition Classes
    WebApiContextJsonSchemaInference
  20. val ds: Option[RamlWebApiDeclarations]
  21. val eh: ParserErrorHandler
    Definition Classes
    ParserContext
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. val factory: RamlSpecVersionFactory
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
    Attributes
    protected
    Definition Classes
    RamlWebApiContext
  26. def findJsonPathIn(index: AstIndex, path: String): Option[YMapEntryLike]
    Definition Classes
    WebApiContext
  27. def findJsonSchema(url: String): Option[AnyShape]
    Definition Classes
    WebApiContext
  28. def findLocalJSONPath(path: String): Option[YMapEntryLike]
    Definition Classes
    WebApiContext
  29. def forLocation(newLocation: String): ParserContext
    Definition Classes
    ParserContext
  30. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext
  31. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def getDeclarationKeys: List[DeclarationKey]
    Definition Classes
    WebApiContext
  33. def getEntryKey(entry: YMapEntry): String
    Definition Classes
    WebApiContext
  34. var globalMediatype: Boolean
    Definition Classes
    RamlWebApiContext
  35. var globalSpace: Map[String, Any]
    Definition Classes
    ParserContext
  36. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    ParserContext → IllegalTypeHandler
  37. def handle(location: SourceLocation, e: SyamlException): Unit
    Definition Classes
    ParserContext → ParseErrorHandler
  38. def ignore(shape: String, property: String): Boolean
    Definition Classes
    RamlWebApiContextWebApiContext
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. var jsonSchemaRefGuide: JsonSchemaRefGuide
    Definition Classes
    WebApiContext
  41. def link(node: YNode): Either[String, YNode]
    Definition Classes
    RamlWebApiContextWebApiContext
  42. val loc: String
    Definition Classes
    RamlWebApiContextWebApiContext
  43. var localJSONSchemaContext: Option[YNode]
    Definition Classes
    WebApiContext
  44. def mergeAllOperationContexts(): Unit
    Definition Classes
    RamlWebApiContext
  45. def mergeContext(subContext: RamlWebApiContext): Unit
    Definition Classes
    RamlWebApiContext
  46. def mergeOperationContext(operation: String): Unit
    Definition Classes
    RamlWebApiContext
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. def nextValidation(node: String, shape: String, ast: YMap): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  49. def normalizedJsonPointer(url: String): String
    Attributes
    protected
    Definition Classes
    WebApiContext
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. def obtainRemoteYNode(ref: String, refAnnotations: Annotations = Annotations())(implicit ctx: WebApiContext): Option[YNode]
    Definition Classes
    WebApiContext
  53. val operationContexts: Map[String, RamlWebApiContext]
    Definition Classes
    RamlWebApiContext
  54. val options: ParsingOptions
    Definition Classes
    WebApiContext
  55. val parentDeclarations: RamlWebApiDeclarations
  56. def parseRemoteOasParameter(fileUrl: String, parentId: String)(implicit ctx: OasWebApiContext): Option[OasParameter]
    Definition Classes
    WebApiContext
  57. def parseSchemaVersion(ast: YNode, errorHandler: ErrorHandler): SchemaVersion
    Definition Classes
    JsonSchemaInference
  58. val parserRun: Int
    Definition Classes
    ParserContext
  59. val platform: Platform
    Definition Classes
    PlatformSecrets
  60. val plugins: PluginContext
    Definition Classes
    ParserContext
  61. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  62. def registerJsonSchema(url: String, shape: AnyShape): Unit
    Definition Classes
    WebApiContext
  63. def resolvedPath(base: String, str: String): String
    Definition Classes
    WebApiContext
  64. val rootContextDocument: String
    Definition Classes
    ParserContext
  65. def setJsonSchemaAST(value: YNode): Unit
    Definition Classes
    WebApiContext
  66. def shouldSkipDot(base: String, path: String): Boolean
    Definition Classes
    WebApiContext
  67. def supportsAnnotations: Boolean
    Attributes
    protected
    Definition Classes
    RamlWebApiContext
  68. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  69. val syntax: SpecSyntax
    Definition Classes
    Raml10WebApiContextWebApiContext
  70. def throwClosedShapeError(node: String, message: String, entry: YPart, isWarning: Boolean = false): Unit
    Attributes
    protected
    Definition Classes
    WebApiContext
  71. def validateRefFormatWithError(ref: String): Boolean
    Definition Classes
    WebApiContext
  72. val vendor: Vendor
    Definition Classes
    Raml10WebApiContextWebApiContext
  73. def violation(violationId: ValidationSpecification, node: String, message: String): Unit
    Definition Classes
    ParserContext
  74. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  77. val wrapped: ParserContext

Inherited from Raml10WebApiContext

Inherited from RamlWebApiContext

Inherited from RamlSpecAwareContext

Inherited from WebApiContext

Inherited from JsonSchemaInference

Inherited from PlatformSecrets

Inherited from SpecAwareContext

Inherited from ParserContext

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from IllegalTypeHandler

Inherited from ParseErrorHandler

Inherited from AnyRef

Inherited from Any

Ungrouped