public class ActionContentTypeChecker extends Object implements RamlActionVisitorCheck
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger
Class Logger
|
static String |
REQUEST_BODY_MISSING |
static String |
RESPONSE_BODY_MISSING |
| Constructor and Description |
|---|
ActionContentTypeChecker() |
| Modifier and Type | Method and Description |
|---|---|
Pair<Set<Issue>,Set<Issue>> |
check(RamlActionType name,
RamlAction reference,
RamlAction target,
IssueLocation location,
IssueSeverity maxSeverity)
Checks a particular action
|
public static String REQUEST_BODY_MISSING
public static String RESPONSE_BODY_MISSING
protected static final org.slf4j.Logger logger
public Pair<Set<Issue>,Set<Issue>> check(RamlActionType name, RamlAction reference, RamlAction target, IssueLocation location, IssueSeverity maxSeverity)
RamlActionVisitorCheckcheck in interface RamlActionVisitorCheckname - The key/verb of the actionreference - The Action which is the source of truth from the RAML modeltarget - The target Action to check against from the RAML modellocation - The location where the issue (if any) liesmaxSeverity - The maximum severity that can be applied to any errorsCopyright © 2017. All rights reserved.