Packages

c

amf.apicontract.internal.spec.common.transformation

CustomRaml08WebApiContext

class CustomRaml08WebApiContext extends Raml08WebApiContext

Linear Supertypes
Raml08WebApiContext, RamlWebApiContext, 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. CustomRaml08WebApiContext
  2. Raml08WebApiContext
  3. RamlWebApiContext
  4. RamlSpecAwareContext
  5. WebApiContext
  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. IllegalTypeHandler
  20. ParseErrorHandler
  21. AnyRef
  22. 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 CustomRaml08WebApiContext()

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 CustomRaml08WebApiContext to any2stringadd[CustomRaml08WebApiContext] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CustomRaml08WebApiContext, B)
    Implicit
    This member is added by an implicit conversion from CustomRaml08WebApiContext to ArrowAssoc[CustomRaml08WebApiContext] 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

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

Inherited from Raml08WebApiContext

Inherited from RamlWebApiContext

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 CustomRaml08WebApiContext to any2stringadd[CustomRaml08WebApiContext]

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

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

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

Ungrouped