Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Properties

_meta

Protected _node

Methods

RAMLVersion

  • RAMLVersion(): string

add

addToProp

attributeDefaults

  • attributeDefaults(): boolean

default

  • default(): any
  • The default attribute specifies the default value to use for the property if the property is omitted or its value is not specified. This SHOULD NOT be interpreted as a requirement for the client to send the default attribute's value if there is no other value to send. Instead, the default attribute's value is the value the server uses if the client does not send a value.

    Returns any

definition

description

displayName

  • displayName(): string

dump

  • dump(): string

errors

example

  • example(): string

kind

  • kind(): string

location

meta

name

  • name(): string

optional

  • optional(): boolean

optionalProperties

  • optionalProperties(): string[]

parent

remove

repeat

  • repeat(): boolean
  • The repeat attribute specifies that the parameter can be repeated. If the parameter can be used multiple times, the repeat parameter value MUST be set to 'true'. Otherwise, the default value is 'false' and the parameter may not be repeated.

    Returns boolean

required

  • required(): boolean

runtimeDefinition

toAny

  • toAny(arg: any): any

toBoolean

  • toBoolean(arg: any): boolean

toJSON

toNumber

  • toNumber(arg: any): any

toString

  • toString(arg: any): string

type

  • type(): string
  • The type attribute specifies the primitive type of the parameter's resolved value. API clients MUST return/throw an error if the parameter's resolved value does not match the specified type. If type is not specified, it defaults to string.

    Returns string

Generated using TypeDoc