public interface ResourceType 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 type
|
List<TraitRef> |
is()
Instantiation of applyed traits
|
List<Method> |
methods()
Methods that are part of this resource type definition
|
String |
name()
Name of the resource type
|
TypeInstance |
parametrizedProperties()
Returns object representation of parametrized properties of the resource type
|
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
|
String |
usage()
Instructions on how and when the resource type should be used.
|
descriptionString name()
String usage()
ResourceTypeRef type()
List<SecuritySchemeRef> securedBy()
String displayName()
List<Parameter> baseUriParameters()
TypeInstance parametrizedProperties()
Copyright © 2016. All rights reserved.