Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

RAMLVersion

  • RAMLVersion(): string

allowedTargets

annotations

default

  • default(): any

definition

description

displayName

  • displayName(): string
  • The displayName attribute specifies the type display name. It is a friendly name used only for display or documentation purposes. If displayName is not specified, it defaults to the element's key (the name of the property itself).

    Returns string

errors

example

examples

facets

findComponentTypeDeclaration

  • Returns anonymous type defined by "items" keyword, or a component type if declaration can be found. Does not resolve type expressions. Only returns component type declaration if it is actually defined somewhere in AST.

    Returns TypeDeclaration

fixedFacets

isAnnotation

  • isAnnotation(): boolean

items

kind

  • kind(): string

location

locationKind

maxItems

  • maxItems(): number

meta

minItems

  • minItems(): number

name

  • name(): string

optional

  • optional(): boolean

optionalProperties

  • optionalProperties(): string[]

parametrizedProperties

parent

required

  • required(): boolean

runtimeDefinition

runtimeType

scalarsAnnotations

schema

  • schema(): string[]

structuredItems

structuredType

toJSON

type

  • type(): string[]

uniqueItems

  • uniqueItems(): boolean

validateInstance

  • validateInstance(value: any): string[]

validateInstanceWithDetailedStatuses

  • validateInstanceWithDetailedStatuses(value: any): any

xml

Generated using TypeDoc