Options
All
  • Public
  • Public/Protected
  • All
Menu

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

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

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

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