Options
All
  • Public
  • Public/Protected
  • All
Menu

Value MUST be a number. Indicate floating point numbers as defined by YAML.

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

dump

  • dump(): string

enum

  • enum(): string[]
  • (Optional, applicable only for parameters of type string) The enum attribute provides an enumeration of the parameter's valid values. This MUST be an array. If the enum attribute is defined, API clients and servers MUST verify that a parameter's value matches a value in the enum array. If there is no matching value, the clients and servers MUST treat this as an error.

    Returns string[]

errors

example

examples

facets

fixedFacets

format

  • format(): string

isAnnotation

  • isAnnotation(): boolean

kind

  • kind(): string

location

locationKind

maximum

  • maximum(): number

meta

minimum

  • minimum(): number

multipleOf

  • multipleOf(): number

name

  • name(): string

optional

  • optional(): boolean

optionalProperties

  • optionalProperties(): string[]

parametrizedProperties

parent

remove

required

  • required(): boolean

runtimeDefinition

runtimeType

scalarsAnnotations

schema

  • schema(): 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