| Modifier and Type | Required Element and Description |
|---|---|
String |
baseUri
The base URI of the application
|
String |
title
The title of the RAML application
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
description
The description of the application’s purpose.
|
RamlDocumentation[] |
documentation
References to application documentation.
|
RamlResponse[] |
globalResponses
Define global response definitions.
|
String[] |
protocols
The protocols the application can be accessed under (eg.
|
RamlSecurityScheme[] |
security
The security schemes the application supports.
|
RamlTrait[] |
traits
The global traits of the application.
|
public abstract String title
The title of the RAML application
public abstract String baseUri
The base URI of the application
public abstract String description
The description of the application’s purpose.
public abstract String[] protocols
The protocols the application can be accessed under (eg. HTTP, HTTPS, etc)
public abstract RamlDocumentation[] documentation
References to application documentation.
This documentation is used to provide a general overview of functionality to support the service.
Documentation can be in the form of Markdown.
public abstract RamlSecurityScheme[] security
The security schemes the application supports.
Can be used in conjunction with the @RamlSecuredBy annotation on resource methods to document resource security requirements.
public abstract RamlTrait[] traits
The global traits of the application. Can include descriptions of common request headers and query parameters as well as re-useable descriptors of responses.
public abstract RamlResponse[] globalResponses
Define global response definitions. If a resource method does not explicitly define the status code of one of these responses, it will automatically be added.
Copyright © 2019. All rights reserved.