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

allBaseUriParameters

  • Retrieve an ordered list of all base uri parameters regardless of whether they are described in baseUriParameters or not Consider a fragment of RAML specification:

    version: v1
    baseUri: https://{organization}.example.com/{version}/{service}
    baseUriParameters:
    service:
    

    Here version and organization are base uri parameters which are not described in the baseUriParameters node, but they are among Api.allBaseUriParameters().

    deprecated

    Returns TypeDeclaration[]

allProtocols

  • allProtocols(): string[]

allResourceTypes

allResources

allTraits

annotationTypes

annotations

attributeDefaults

  • attributeDefaults(): boolean

baseUri

baseUriParameters

childResource

  • childResource(relPath: string): Resource

definition

description

documentation

dump

  • dump(): string

errors

expand

  • expand(expLib?: boolean): Api

extends

  • extends(): string

kind

  • kind(): string

mediaType

meta

optional

  • optional(): boolean

optionalProperties

  • optionalProperties(): string[]

parent

protocols

  • protocols(): string[]

remove

resourceTypes

resources

  • The resources of the API, identified as relative URIs that begin with a slash (/). Every property whose key begins with a slash (/), and is either at the root of the API definition or is the child property of a resource property, is a resource property, e.g.: /users, /{groupId}, etc

    Returns Resource[]

runtimeDefinition

scalarsAnnotations

schemas

securedBy

securitySchemes

title

  • title(): string

toAny

  • toAny(arg: any): any

toBoolean

  • toBoolean(arg: any): boolean

toJSON

toNumber

  • toNumber(arg: any): any

toString

  • toString(arg: any): string

traits

types

usage

  • usage(): string

uses

version

  • version(): string

Generated using TypeDoc