public interface Resource extends RAMLLanguageElement
| Modifier and Type | Method and Description |
|---|---|
List<Parameter> |
baseUriParameters()
A resource or a method can override a base URI template's values.
|
String |
displayName()
An alternate, human-friendly name for the resource
|
List<TraitRef> |
is()
Instantiation of applyed traits
|
List<Method> |
methods()
Methods that can be called on this resource
|
Resource |
parentResource() |
RelativeUriString |
relativeUri()
Relative URL of this resource from the parent resource
|
String |
resourcePath() |
List<Resource> |
resources()
Children resources
|
List<SecuritySchemeRef> |
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.
|
ResourceTypeRef |
type()
Instantiation of applyed resource type
|
List<Parameter> |
uriParameters()
Uri parameters of this resource
|
descriptionRelativeUriString relativeUri()
ResourceTypeRef type()
List<SecuritySchemeRef> securedBy()
String displayName()
List<Parameter> baseUriParameters()
String resourcePath()
Copyright © 2016. All rights reserved.