Options
All
  • Public
  • Public/Protected
  • All
Menu

Value must be a string

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

isAnnotation

  • isAnnotation(): boolean

kind

  • kind(): string

location

locationKind

maxLength

  • maxLength(): number

meta

minLength

  • minLength(): number

name

  • name(): string

optional

  • optional(): boolean

optionalProperties

  • optionalProperties(): string[]

parametrizedProperties

parent

pattern

  • pattern(): string

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