abstract class WebApiContext extends ParserContext with SpecAwareContext with PlatformSecrets with JsonSchemaInference
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- WebApiContext
- JsonSchemaInference
- PlatformSecrets
- SpecAwareContext
- ParserContext
- Serializable
- Serializable
- Product
- Equals
- IllegalTypeHandler
- ParseErrorHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new WebApiContext(loc: String, refs: Seq[ParsedReference], options: ParsingOptions, wrapped: ParserContext, declarationsOption: Option[WebApiDeclarations] = None)
Abstract Value Members
- abstract def autoGeneratedAnnotation(s: Shape): Unit
-
abstract
val
factory: SpecVersionFactory
- Definition Classes
- SpecAwareContext
-
abstract
def
ignore(shape: String, property: String): Boolean
- Attributes
- protected
- abstract def link(node: YNode): Either[String, YNode]
- abstract val syntax: SpecSyntax
- abstract val vendor: Vendor
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addDeclarationKey(key: DeclarationKey): Unit
-
def
addSonRef(ref: BaseUnit): WebApiContext.this.type
- Definition Classes
- ParserContext
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def basePath(path: String): String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
closedShape(node: String, ast: YMap, shape: String, syntax: SpecSyntax): Unit
- Attributes
- protected
-
def
closedShape(node: String, ast: YMap, shape: String): Unit
Validate closed shape.
- def computeJsonSchemaVersion(ast: YNode): SchemaVersion
-
def
copyWithSonsReferences(): ParserContext
- Definition Classes
- ParserContext
- val declarations: WebApiDeclarations
-
val
defaultSchemaVersion: JSONSchemaVersion
- Definition Classes
- WebApiContext → JsonSchemaInference
-
val
eh: ParserErrorHandler
- Definition Classes
- ParserContext
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def findJsonPathIn(index: JsonSchemaAstIndex, path: String): Option[(String, Either[YNode, YMapEntry])]
- def findJsonSchema(url: String): Option[AnyShape]
- def findLocalJSONPath(path: String): Option[(String, Either[YNode, YMapEntry])]
-
def
forLocation(newLocation: String): ParserContext
- Definition Classes
- ParserContext
-
val
futureDeclarations: FutureDeclarations
- Definition Classes
- ParserContext
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDeclarationKeys: List[DeclarationKey]
- def getEntryKey(entry: YMapEntry): String
-
var
globalSpace: Map[String, Any]
- Definition Classes
- ParserContext
-
def
handle[T](error: YError, defaultValue: T): T
- Definition Classes
- ParserContext → IllegalTypeHandler
-
def
handle(location: SourceLocation, e: SyamlException): Unit
- Definition Classes
- ParserContext → ParseErrorHandler
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var jsonSchemaRefGuide: JsonSchemaRefGuide
- val loc: String
- var localJSONSchemaContext: Option[YNode]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nextValidation(node: String, shape: String, ast: YMap): Unit
- Attributes
- protected
-
def
normalizedJsonPointer(url: String): String
- Attributes
- protected
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def obtainRemoteYNode(ref: String, refAnnotations: Annotations = Annotations())(implicit ctx: WebApiContext): Option[YNode]
- val options: ParsingOptions
- def parseRemoteOasParameter(fileUrl: String, parentId: String)(implicit ctx: OasWebApiContext): Option[OasParameter]
-
def
parseSchemaVersion(ast: YNode, errorHandler: ErrorHandler): SchemaVersion
- Definition Classes
- JsonSchemaInference
-
val
parserRun: Int
- Definition Classes
- ParserContext
-
val
platform: Platform
- Definition Classes
- PlatformSecrets
-
val
plugins: PluginContext
- Definition Classes
- ParserContext
-
val
refs: Seq[ParsedReference]
- Definition Classes
- ParserContext
- def registerJsonSchema(url: String, shape: AnyShape): Unit
- def resolvedPath(base: String, str: String): String
-
val
rootContextDocument: String
- Definition Classes
- ParserContext
- def setJsonSchemaAST(value: YNode): Unit
- def shouldSkipDot(base: String, path: String): Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
throwClosedShapeError(node: String, message: String, entry: YPart, isWarning: Boolean = false): Unit
- Attributes
- protected
- def validateRefFormatWithError(ref: String): Boolean
-
def
violation(violationId: ValidationSpecification, node: String, message: String): Unit
- Definition Classes
- ParserContext
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()