RAML version of the node. "RAML10" for RAML 1.0 and "RAML08" for RAML 0.8.
baseUri of owning Api concatenated with completeRelativeUri
Retrieve an ordered list of all absolute uri parameters. Returns a union of Api.baseUriParameters()
for Api
owning the Resource
and Resource.uriParameters()
.
Returns security schemes, resource or method is secured with. If no security schemes are set at resource or method level,
returns schemes defined with securedBy
at API level.
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.allUriParameters().
Most of RAML model elements may have attached annotations decribing additional meta data about this element
Get child method by its name
Get child resource by its relative path
Path relative to API root
object representing class of the node
A longer, human-friendly description of the resource.
The displayName attribute specifies the resource 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).
Array of errors
A list of the traits to apply to all methods declared (implicitly or explicitly) for this resource. Individual methods may override this declaration
Actual name of instance interface
Methods that are part of this resource type definition
Whether the element is an optional sibling of trait or resource type
For siblings of traits or resource types returns an array of optional properties names.
Api owning the resource as a sibling
Direct ancestor in RAML hierarchy
Parent resource for non top level resources
Relative URL of this resource from the parent resource
A nested resource is identified as any property whose name begins with a slash ("/") and is therefore treated as a relative URI.
for user class instances returns object representing actual user class
Scalar properties annotations accessor
The security schemes that apply to all methods declared (implicitly or explicitly) for this resource.
Turns model node into an object.
Stringifyable object representation of the node.
The resource type which this resource inherits.
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().
Generated using TypeDoc