| Modifier and Type | Method and Description |
|---|---|
RamlAction |
ApiActionMetadata.getAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiResourceMetadata.addApiCall(RamlResource resource,
RamlActionType actionType,
RamlAction action) |
void |
ApiResourceMetadata.addApiCall(RamlResource resource,
RamlActionType actionType,
RamlAction action,
String responseContentType,
boolean injectHttpHeadersParameter) |
void |
ApiActionMetadata.setAction(RamlAction action) |
| Constructor and Description |
|---|
ApiActionMetadata(ApiResourceMetadata parent,
RamlResource resource,
RamlActionType actionType,
RamlAction action) |
ApiActionMetadata(ApiResourceMetadata parent,
RamlResource resource,
RamlActionType actionType,
RamlAction action,
String responseContentTypeFilter,
boolean injectHttpHeadersParameter) |
| Modifier and Type | Method and Description |
|---|---|
static String |
NamingHelper.getActionName(RamlResource controllerizedResource,
RamlResource resource,
RamlAction action,
RamlActionType actionType)
Attempts to infer the name of an action (intent) from a resource's relative URL and action details
|
static RamlResponse |
RamlHelper.getSuccessfulResponse(RamlAction action)
Gets the successful response from an action (200 or 201)
|
static void |
RamlHelper.mergeActions(RamlAction existingAction,
RamlAction newAction)
Merges together existing actions.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SpringMvcResourceParser.addHeadersForMethod(RamlAction action,
RamlActionType actionType,
Method method) |
protected abstract void |
ResourceParser.addHeadersForMethod(RamlAction action,
RamlActionType actionType,
Method method)
Allows children to add common headers to API methods (eg CSRF, Authorization)
|
| Modifier and Type | Method and Description |
|---|---|
RamlAction |
RamlModelFactory.createRamlAction() |
RamlAction |
RamlModelFactory.createRamlAction(Object action) |
RamlAction |
RamlResource.getAction(RamlActionType actionType) |
| Modifier and Type | Method and Description |
|---|---|
Map<RamlActionType,RamlAction> |
RamlResource.getActions() |
| Modifier and Type | Method and Description |
|---|---|
void |
RamlResource.addAction(RamlActionType apiAction,
RamlAction action) |
| Modifier and Type | Method and Description |
|---|---|
void |
RamlResource.addActions(Map<RamlActionType,RamlAction> actions) |
| Modifier and Type | Class and Description |
|---|---|
class |
RJP08V1RamlAction
Implementation based on the Raml 0.8 Parser
|
| Modifier and Type | Method and Description |
|---|---|
RamlAction |
RJP08V1RamlModelFactory.createRamlAction() |
RamlAction |
RJP08V1RamlModelFactory.createRamlAction(Object action) |
RamlAction |
RJP08V1RamlResource.getAction(RamlActionType actionType) |
| Modifier and Type | Method and Description |
|---|---|
Map<RamlActionType,RamlAction> |
RJP08V1RamlResource.getActions() |
| Modifier and Type | Method and Description |
|---|---|
void |
RJP08V1RamlResource.addAction(RamlActionType actionType,
RamlAction action) |
| Modifier and Type | Method and Description |
|---|---|
void |
RJP08V1RamlResource.addActions(Map<RamlActionType,RamlAction> newActions) |
| Modifier and Type | Method and Description |
|---|---|
Set<StyleIssue> |
RamlStyleCheckerAdapter.checkActionStyle(RamlActionType key,
RamlAction value,
IssueLocation location,
RamlRoot raml) |
Set<StyleIssue> |
RamlStyleChecker.checkActionStyle(RamlActionType key,
RamlAction value,
IssueLocation location,
RamlRoot raml)
Check the style of a particular action
|
| Constructor and Description |
|---|
StyleIssue(IssueLocation location,
String description,
RamlResource resource,
RamlAction action) |
| Modifier and Type | Method and Description |
|---|---|
Set<StyleIssue> |
ResponseCodeDefinitionStyleChecker.checkActionStyle(RamlActionType key,
RamlAction value,
IssueLocation location,
RamlRoot raml) |
Set<StyleIssue> |
ResponseBodySchemaStyleChecker.checkActionStyle(RamlActionType key,
RamlAction value,
IssueLocation location,
RamlRoot raml) |
Set<StyleIssue> |
RequestBodySchemaStyleChecker.checkActionStyle(RamlActionType key,
RamlAction value,
IssueLocation location,
RamlRoot raml) |
Set<StyleIssue> |
ActionSecurityResponseChecker.checkActionStyle(RamlActionType key,
RamlAction value,
IssueLocation location,
RamlRoot raml) |
| Modifier and Type | Method and Description |
|---|---|
RamlAction |
Issue.getAction() |
| Modifier and Type | Method and Description |
|---|---|
static String |
Issue.buildRamlLocation(RamlResource resource,
RamlAction action,
String parameter)
Uniform way of identifying a location in the Raml file based on the
Resource and Action
|
Pair<Set<Issue>,Set<Issue>> |
RamlActionVisitorCheck.check(RamlActionType name,
RamlAction reference,
RamlAction target,
IssueLocation location,
IssueSeverity maxSeverity)
Checks a particular action
|
| Constructor and Description |
|---|
Issue(IssueSeverity severity,
IssueLocation location,
IssueType type,
String description,
RamlResource resource,
RamlAction action) |
Issue(IssueSeverity severity,
IssueLocation location,
IssueType type,
String description,
RamlResource resource,
RamlAction action,
String parameter) |
| Modifier and Type | Method and Description |
|---|---|
Pair<Set<Issue>,Set<Issue>> |
ActionResponseBodySchemaChecker.check(RamlActionType name,
RamlAction reference,
RamlAction target,
IssueLocation location,
IssueSeverity maxSeverity) |
Pair<Set<Issue>,Set<Issue>> |
ActionQueryParameterChecker.check(RamlActionType name,
RamlAction reference,
RamlAction target,
IssueLocation location,
IssueSeverity maxSeverity) |
Pair<Set<Issue>,Set<Issue>> |
ActionContentTypeChecker.check(RamlActionType name,
RamlAction reference,
RamlAction target,
IssueLocation location,
IssueSeverity maxSeverity) |
Copyright © 2017. All rights reserved.