Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

RAMLVersion

  • RAMLVersion(): string

absoluteUri

  • absoluteUri(): string

absoluteUriParameters

allSecuredBy

allUriParameters

  • Retrieve an ordered list of all uri parameters including those which are not described in the uriParameters node. Consider a fragment of RAML specification:

    /resource/{objectId}/{propertyId}:
    uriParameters:
    objectId:
    

    Here propertyId uri parameter is not described in the uriParameters node, Thus, it is not among Resource.uriParameters(), but it is among Resource.allUriParameters().

    deprecated

    Returns Parameter[]

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[]

childMethod

  • childMethod(method: string): Method[]

childResource

  • childResource(relPath: string): Resource

completeRelativeUri

  • completeRelativeUri(): string

definition

description

displayName

  • displayName(): string

errors

is

kind

  • kind(): string

meta

methods

optional

  • optional(): boolean

optionalProperties

  • optionalProperties(): string[]

ownerApi

  • ownerApi(): Api

parent

parentResource

relativeUri

resources

runtimeDefinition

securedBy

  • securityScheme may also be applied to a resource by using the securedBy key, which is equivalent to applying the securityScheme to all methods that may be declared, explicitly or implicitly, by defining the resourceTypes or traits property for that resource. To indicate that the method may be called without applying any securityScheme, the method may be annotated with the null securityScheme.

    Returns SecuritySchemeRef[]

toJSON

type

uriParameters

  • Retrieve an ordered list of all uri parameters including those which are not described in the uriParameters node. Consider a fragment of RAML specification:

    /resource/{objectId}/{propertyId}:
    uriParameters:
    objectId:
    

    Here propertyId uri parameter is not described in the uriParameters node, but it is among Resource.uriParameters().

    Returns Parameter[]

Generated using TypeDoc