Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

RAMLVersion

  • RAMLVersion(): string

allowedTargets

  • Restrictions on where annotations of this type can be applied. If this property is specified, annotations of this type may only be applied on a property corresponding to one of the target names specified as the value of this property.

    Returns AnnotationTarget[]

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

  • An example of this type instance represented as string or yaml map/sequence. This can be used, e.g., by documentation generators to generate sample values for an object of this type. Cannot be present if the examples property is present.

    Returns ExampleSpec

examples

  • An example of this type instance represented as string. This can be used, e.g., by documentation generators to generate sample values for an object of this type. Cannot be present if the example property is present.

    Returns ExampleSpec[]

facets

fixedFacets

isAnnotation

  • isAnnotation(): boolean

kind

  • kind(): string

location

locationKind

meta

name

  • name(): string

optional

  • optional(): boolean

optionalProperties

  • optionalProperties(): string[]

parametrizedProperties

parent

required

  • required(): boolean

runtimeDefinition

runtimeType

scalarsAnnotations

schema

  • schema(): string[]

structuredType

toJSON

type

  • type(): string[]

validateInstance

  • validateInstance(value: any): string[]

validateInstanceWithDetailedStatuses

  • validateInstanceWithDetailedStatuses(value: any): any

xml

Generated using TypeDoc