public interface Api extends LibraryBase
| Modifier and Type | Method and Description |
|---|---|
FullUriTemplateString |
baseUri()
A URI that's to be used as the base of all the resources' URIs.
|
List<TypeDeclaration> |
baseUriParameters()
Named parameters used in the baseUri (template)
|
List<DocumentationItem> |
documentation()
Additional overall documentation for the API
|
List<MimeType> |
mediaType()
The default media type to use for request and response bodies (payloads), e.g.
|
List<String> |
protocols()
The protocols supported by the API
|
String |
ramlVersion()
Returns RAML version.
|
List<Resource> |
resources()
The resources of the API, identified as relative URIs that begin with a slash (/).
|
List<SecuritySchemeRef> |
securedBy()
The security schemes that apply to every resource and method in the API
|
String |
title()
Short plain-text label for the API
|
String |
version()
The version of the API, e.g.
|
annotationTypes, resourceTypes, schemas, securitySchemes, traits, typesannotationsString title()
String version()
FullUriTemplateString baseUri()
List<TypeDeclaration> baseUriParameters()
List<MimeType> mediaType()
List<SecuritySchemeRef> securedBy()
List<Resource> resources()
List<DocumentationItem> documentation()
String ramlVersion()
Copyright © 2016. All rights reserved.