class WebApiDeclarations extends ShapeDeclarations
Declarations object.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- WebApiDeclarations
- ShapeDeclarations
- Declarations
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new WebApiDeclarations(alias: Option[String], errorHandler: AMFErrorHandler, futureDeclarations: FutureDeclarations, extractor: QualifiedNameExtractor)
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from WebApiDeclarations to any2stringadd[WebApiDeclarations] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
+=(indexKey: String, element: DomainElement): WebApiDeclarations.this.type
- Definition Classes
- WebApiDeclarations → ShapeDeclarations → Declarations
-
def
+=(doc: (String, (Shape, Map[String, Shape]))): WebApiDeclarations.this.type
- Definition Classes
- ShapeDeclarations
-
def
+=(extension: Map[String, Dialect]): ShapeDeclarations
- Definition Classes
- ShapeDeclarations
-
def
+=(element: DomainElement): WebApiDeclarations.this.type
- Definition Classes
- Declarations
-
def
+=(indexKey: String, fragment: Fragment): Declarations
- Definition Classes
- Declarations
-
def
->[B](y: B): (WebApiDeclarations, B)
- Implicit
- This member is added by an implicit conversion from WebApiDeclarations to ArrowAssoc[WebApiDeclarations] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addLibrary(alias: String, declarations: Declarations): Unit
- Definition Classes
- WebApiDeclarations → Declarations
-
def
addSchema(indexKey: String, s: Shape): Unit
- Attributes
- protected
- Definition Classes
- ShapeDeclarations
-
val
alias: Option[String]
- Definition Classes
- ShapeDeclarations
-
def
aliased(name: String): String
- Definition Classes
- ShapeDeclarations
-
var
annotations: Map[String, CustomDomainProperty]
- Definition Classes
- Declarations
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var callbacks: Map[String, List[Callback]]
- var channelBindings: Map[String, ChannelBindings]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
copy(): WebApiDeclarations
- Definition Classes
- WebApiDeclarations → ShapeDeclarations
-
def
copy[T <: ShapeDeclarations](next: T): T
- Definition Classes
- ShapeDeclarations
- var correlationIds: Map[String, CorrelationId]
-
def
declarables(): Seq[DomainElement]
- Definition Classes
- WebApiDeclarations → Declarations
-
var
documentFragments: Map[String, (Shape, Map[String, Shape])]
- Definition Classes
- ShapeDeclarations
-
def
ensuring(cond: (WebApiDeclarations) ⇒ Boolean, msg: ⇒ Any): WebApiDeclarations
- Implicit
- This member is added by an implicit conversion from WebApiDeclarations to Ensuring[WebApiDeclarations] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (WebApiDeclarations) ⇒ Boolean): WebApiDeclarations
- Implicit
- This member is added by an implicit conversion from WebApiDeclarations to Ensuring[WebApiDeclarations] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): WebApiDeclarations
- Implicit
- This member is added by an implicit conversion from WebApiDeclarations to Ensuring[WebApiDeclarations] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): WebApiDeclarations
- Implicit
- This member is added by an implicit conversion from WebApiDeclarations to Ensuring[WebApiDeclarations] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(message: String, pos: SourceLocation): Unit
- Attributes
- protected
- Definition Classes
- Declarations
- val errorHandler: AMFErrorHandler
-
var
examples: Map[String, Example]
- Definition Classes
- ShapeDeclarations
-
var
extensions: Map[String, Dialect]
- Definition Classes
- ShapeDeclarations
-
var
externalLibs: Map[String, Map[String, AnyShape]]
- Definition Classes
- ShapeDeclarations
-
var
externalShapes: Map[String, AnyShape]
- Definition Classes
- ShapeDeclarations
- val extractor: QualifiedNameExtractor
-
def
findAnnotation(key: String, scope: Scope): Option[CustomDomainProperty]
- Definition Classes
- Declarations
-
def
findAnnotationOrError(pos: SourceLocation)(key: String, scope: Scope): CustomDomainProperty
- Definition Classes
- Declarations
- def findCallbackInDeclarations(key: String, scope: Scope = Named): Option[List[Callback]]
- def findChannelBindings(key: String, scope: Scope): Option[ChannelBindings]
- def findCorrelationId(key: String, scope: Scope): Option[CorrelationId]
-
def
findDeclaredTypeInDocFragment(doc: String, name: String): Option[Shape]
- Definition Classes
- ShapeDeclarations
- def findDialect(key: String): Option[Dialect]
-
def
findDocumentations(key: String, scope: Scope, error: Option[(String) ⇒ Unit]): Option[CreativeWork]
- Definition Classes
- ShapeDeclarations
-
def
findEquivalent(element: DomainElement): Option[DomainElement]
Find domain element with the same name.
Find domain element with the same name.
- Definition Classes
- WebApiDeclarations → Declarations
-
def
findExample(key: String, scope: Scope): Option[Example]
- Definition Classes
- ShapeDeclarations
-
def
findForType(key: String, map: (Declarations) ⇒ Map[String, DomainElement], scope: Scope): Option[DomainElement]
- Definition Classes
- Declarations
- def findHeader(key: String, scope: Scope): Option[Parameter]
-
def
findInExternals(url: String): Option[AnyShape]
- Definition Classes
- ShapeDeclarations
-
def
findInExternalsLibs(lib: String, name: String): Option[AnyShape]
- Definition Classes
- ShapeDeclarations
-
def
findManyForType(key: String, map: (Declarations) ⇒ Map[String, List[DomainElement]], scope: Scope): Option[List[DomainElement]]
- Definition Classes
- Declarations
- def findMessage(key: String, scope: Scope): Option[Message]
- def findMessageBindings(key: String, scope: Scope): Option[MessageBindings]
- def findMessageTrait(key: String, scope: Scope): Option[Message]
-
def
findNamedExample(key: String, error: Option[(String) ⇒ Unit]): Option[Example]
- Definition Classes
- ShapeDeclarations
-
def
findNamedExampleOrError(ast: YPart)(key: String): Example
- Definition Classes
- ShapeDeclarations
- def findOperationBindings(key: String, scope: Scope): Option[OperationBindings]
- def findOperationTrait(key: String, scope: Scope): Option[Operation]
- def findParameter(key: String, scope: Scope): Option[Parameter]
- def findParameterOrError(ast: YPart)(key: String, scope: Scope): Parameter
- def findPayload(key: String, scope: Scope): Option[Payload]
- def findRequestBody(key: String, scope: Scope): Option[Request]
- def findResourceType(key: String, scope: Scope, error: Option[(String) ⇒ Unit] = None): Option[ResourceType]
- def findResourceTypeOrError(ast: YPart)(key: String, scope: Scope): ResourceType
- def findResponse(key: String, scope: Scope): Option[Response]
- def findResponseOrError(ast: YPart)(key: String, searchScope: Scope): Response
- def findSecurityScheme(key: String, scope: Scope, error: Option[(String) ⇒ Unit] = None): Option[SecurityScheme]
- def findSecuritySchemeOrError(ast: YPart)(key: String, scope: Scope): SecurityScheme
- def findServerBindings(key: String, scope: Scope): Option[ServerBindings]
- def findTemplatedLink(key: String, scope: Scope): Option[TemplatedLink]
- def findTraitOrError(ast: YPart)(key: String, scope: Scope): Trait
-
def
findType(key: String, scope: Scope, error: Option[(String) ⇒ Unit]): Option[AnyShape]
- Definition Classes
- ShapeDeclarations
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from WebApiDeclarations to StringFormat[WebApiDeclarations] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
var
fragments: Map[String, FragmentRef]
- Definition Classes
- Declarations
- val futureDeclarations: FutureDeclarations
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getOrCreateLibrary(alias: String): WebApiDeclarations
Get or create specified library.
Get or create specified library.
- Definition Classes
- WebApiDeclarations → Declarations
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- var headers: Map[String, Parameter]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
var
libraries: Map[String, Declarations]
- Definition Classes
- Declarations
- var links: Map[String, TemplatedLink]
- def merge(other: WebApiDeclarations): WebApiDeclarations
-
def
mergeParts(other: WebApiDeclarations, merged: WebApiDeclarations): Unit
- Attributes
- protected
- var messageBindings: Map[String, MessageBindings]
- var messageTraits: Map[String, Message]
- var messages: Map[String, Message]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- var operationBindings: Map[String, OperationBindings]
- var operationTraits: Map[String, Operation]
- var others: Map[String, BaseUnit]
- def parameterPayload(parameter: Parameter): Payload
- var parameters: Map[String, Parameter]
- var payloads: Map[String, Payload]
-
def
promoteExternalToDataTypeFragment(text: String, fullRef: String, shape: Shape): Unit
- Definition Classes
- ShapeDeclarations
-
var
promotedFragments: Seq[Fragment]
- Definition Classes
- Declarations
-
def
registerExternalLib(url: String, content: Map[String, AnyShape]): ShapeDeclarations
- Definition Classes
- ShapeDeclarations
-
def
registerExternalRef(external: (String, AnyShape)): ShapeDeclarations
- Definition Classes
- ShapeDeclarations
- def registerHeader(header: Parameter): Unit
- def registerOasParameter(oasParameter: OasParameter): Unit
- var requests: Map[String, Request]
- var resourceTypes: Map[String, ResourceType]
- var responses: Map[String, Response]
- var securitySchemes: Map[String, SecurityScheme]
- var serverBindings: Map[String, ServerBindings]
- def setLibraries(libraries: Map[String, Declarations]): Unit
-
var
shapes: Map[String, Shape]
- Definition Classes
- ShapeDeclarations
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- var traits: Map[String, Trait]
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withExtensions(extensions: Map[String, Dialect]): ShapeDeclarations
- Definition Classes
- ShapeDeclarations
-
def
→[B](y: B): (WebApiDeclarations, B)
- Implicit
- This member is added by an implicit conversion from WebApiDeclarations to ArrowAssoc[WebApiDeclarations] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.