Packages

c

amf.plugins.domain.webapi.resolution

CustomRaml10WebApiContext

class CustomRaml10WebApiContext 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. CustomRaml10WebApiContext
  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 CustomRaml10WebApiContext()

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def basePath(path: String): String
    Definition Classes
    WebApiContext
  7. def checkDuplicates(node: String, ast: YMap, shape: String, annotation: Boolean): Set[String]
    Definition Classes
    WebApiContext
  8. def clone(declarations: RamlWebApiDeclarations): RamlWebApiContext
    Attributes
    protected
    Definition Classes
    Raml10WebApiContextRamlWebApiContext
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def closedRamlTypeShape(shape: Shape, ast: YMap, shapeType: String, annotation: Boolean = false): 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, annotation: Boolean = false): Unit

    Validate closed shape.

    Validate closed shape.

    Definition Classes
    WebApiContext
  12. def computeJsonSchemaVersion(rootAst: YNode): JSONSchemaVersion
    Definition Classes
    WebApiContext
  13. val currentFile: String
    Definition Classes
    ParserContext → ErrorHandler
  14. val declarations: RamlWebApiDeclarations
    Definition Classes
    RamlWebApiContextWebApiContext
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val factory: RamlSpecVersionFactory
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def findDeclarations(path: Seq[String], declarations: RamlWebApiDeclarations): RamlWebApiDeclarations
    Attributes
    protected
    Definition Classes
    RamlWebApiContext
  19. def findJsonSchema(url: String): Option[AnyShape]
    Definition Classes
    WebApiContext
  20. def findLocalJSONPath(path: String): Option[(String, YNode)]
    Definition Classes
    WebApiContext
  21. def forLocation(newLocation: String): ParserContext
    Definition Classes
    ParserContext
  22. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. var globalMediatype: Boolean
    Definition Classes
    RamlWebApiContext
  25. var globalSpace: Map[String, Any]
    Definition Classes
    ParserContext
  26. def handle(node: YPart, e: SyamlException): Unit
    Definition Classes
    CustomRaml10WebApiContext → ErrorHandler → ParseErrorHandler
  27. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    CustomRaml10WebApiContext → ErrorHandler → IllegalTypeHandler
  28. def ignore(shape: String, property: String): Boolean
    Definition Classes
    RamlWebApiContextWebApiContext
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def link(node: YNode): Either[String, YNode]
    Definition Classes
    RamlWebApiContextWebApiContext
  31. val loc: String
    Definition Classes
    RamlWebApiContextWebApiContext
  32. var localJSONSchemaContext: Option[YNode]
    Definition Classes
    WebApiContext
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def normalizedJsonPointer(url: String): String
    Attributes
    protected
    Definition Classes
    WebApiContext
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def parseRemoteJSONPath(fileUrl: String)(implicit ctx: OasWebApiContext): Option[AnyShape]
    Definition Classes
    WebApiContext
  38. val parserCount: Int
    Definition Classes
    ParserContext → ErrorHandler
  39. def part(error: YError): YPart
    Attributes
    protected
    Definition Classes
    ErrorHandler
  40. val platform: Platform
    Definition Classes
    PlatformSecrets
  41. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  42. def registerJsonSchema(url: String, shape: AnyShape): Unit
    Definition Classes
    WebApiContext
  43. def reportConstraint(id: String, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation], level: String, location: Option[String]): Unit
    Attributes
    protected
    Definition Classes
    ErrorHandler
  44. def resolvedPath(base: String, str: String): String
    Definition Classes
    WebApiContext
  45. val rootContextDocument: String
    Definition Classes
    ParserContext
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. val syntax: SpecSyntax
    Definition Classes
    Raml10WebApiContextWebApiContext
  48. val vendor: Vendor
    Definition Classes
    Raml10WebApiContextWebApiContext
  49. def violation(id: String, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation], location: Option[String]): Unit
    Definition Classes
    CustomRaml10WebApiContext → ErrorHandler
  50. def violation(node: String, message: String): Unit
    Definition Classes
    ParserContext
  51. def violation(node: String, message: String, lexical: Option[LexicalInformation], location: Option[String]): Unit
    Definition Classes
    ErrorHandler
  52. def violation(node: String, message: String, location: String): Unit
    Definition Classes
    ErrorHandler
  53. def violation(node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  54. def violation(id: String, node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  55. def violation(id: String, node: String, property: Option[String], message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  56. def violation(message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  57. def violation(id: String, element: AmfObject, target: Option[String], message: String): Unit
    Definition Classes
    ErrorHandler
  58. def violation(id: String, node: String, message: String, annotations: Annotations): Unit
    Definition Classes
    ErrorHandler
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  62. def warning(id: String, node: String, property: Option[String], message: String, lexical: Option[LexicalInformation], location: Option[String]): Unit
    Definition Classes
    CustomRaml10WebApiContext → ErrorHandler
  63. def warning(id: String, node: String, message: String, annotations: Annotations): Unit
    Definition Classes
    ErrorHandler
  64. def warning(node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  65. def warning(id: String, node: String, message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  66. def warning(id: String, node: String, property: Option[String], message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  67. def warning(message: String, ast: YPart): Unit
    Definition Classes
    ErrorHandler
  68. def warning(id: String, element: AmfObject, target: Option[String], message: String): Unit
    Definition Classes
    ErrorHandler

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