Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

_meta

Protected _node

Protected nodeOrKey

nodeOrKey: IHighLevelNode | string

Protected setAsTopLevel

setAsTopLevel: boolean

Methods

RAMLVersion

  • RAMLVersion(): string

add

addToProp

allowedTargets

annotations

attributeDefaults

  • attributeDefaults(): boolean

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

dump

  • dump(): string

errors

example

examples

facets

fixedFacets

isAnnotation

  • isAnnotation(): boolean

kind

  • kind(): string

location

locationKind

meta

name

  • name(): string

optional

  • optional(): boolean

optionalProperties

  • optionalProperties(): string[]

parametrizedProperties

parent

remove

required

  • required(): boolean

runtimeDefinition

runtimeType

scalarsAnnotations

schema

  • schema(): string[]
  • Alias for the equivalent "type" property, for compatibility with RAML 0.8. Deprecated - API definitions should use the "type" property, as the "schema" alias for that property name may be removed in a future RAML version. The "type" property allows for XML and JSON schemas.

    Returns string[]

structuredType

toAny

  • toAny(arg: any): any

toBoolean

  • toBoolean(arg: any): boolean

toJSON

toNumber

  • toNumber(arg: any): any

toString

  • toString(arg: any): string

type

  • type(): string[]

uses

validateInstance

  • validateInstance(value: any): string[]

validateInstanceWithDetailedStatuses

  • validateInstanceWithDetailedStatuses(value: any): any

xml

Generated using TypeDoc