Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

_meta

Protected _node

Protected nodeOrKey

nodeOrKey: IHighLevelNode | string

Protected setAsTopLevel

setAsTopLevel: boolean

Methods

RAMLVersion

  • RAMLVersion(): string

add

addToProp

attributeDefaults

  • attributeDefaults(): boolean

baseUriParameters

  • A resource or a method can override a base URI template's values. This is useful to restrict or change the default or parameter selection in the base URI. The baseUriParameters property MAY be used to override any or all parameters defined at the root level baseUriParameters property, as well as base URI parameters not specified at the root level.

    Returns Parameter[]

body

  • Some method verbs expect the resource to be sent as a request body. For example, to create a resource, the request must include the details of the resource to create. Resources CAN have alternate representations. For example, an API might support both JSON and XML representations. A method's body is defined in the body property as a hashmap, in which the key MUST be a valid media type.

    Returns BodyLike[]

definition

description

displayName

  • displayName(): string

dump

  • dump(): string

errors

headers

kind

  • kind(): string

meta

name

  • name(): string

optional

  • optional(): boolean

optionalProperties

  • optionalProperties(): string[]

parametrizedProperties

parent

protocols

  • protocols(): string[]

queryParameters

remove

responses

runtimeDefinition

securedBy

  • A list of the security schemas to apply, these must be defined in the securitySchemes declaration. To indicate that the method may be called without applying any securityScheme, the method may be annotated with the null securityScheme. Security schemas may also be applied to a resource with securedBy, which is equivalent to applying the security schemas to all methods that may be declared, explicitly or implicitly, by defining the resourceTypes or traits property for that resource.

    Returns SecuritySchemeRef[]

toAny

  • toAny(arg: any): any

toBoolean

  • toBoolean(arg: any): boolean

toJSON

toNumber

  • toNumber(arg: any): any

toString

  • toString(arg: any): string

usage

  • usage(): string

Generated using TypeDoc