public RamlReport validate() { checker.parameters(raml.getBaseUriParameters(), BASE_URI); checker.description(raml.getDocumentation()); checker.description(raml.getBaseUriParameters(), BASE_URI); for (final Resource resource : raml.getResources().values()) { resource(resource); } return checker.getReport(); }
for (Entry<String, UriParameter> entry : raml.getBaseUriParameters() .entrySet()) { rootPathVariables.add(getPathVariable(entry.getKey(),
for (Entry<String, UriParameter> entry : raml.getBaseUriParameters() .entrySet()) { rootPathVariables.add(getPathVariable(entry.getKey(),
for (Entry<String, UriParameter> entry : raml.getBaseUriParameters() .entrySet()) { rootPathVariables.add(getPathVariable(entry.getKey(),
for (Entry<String, UriParameter> entry : raml.getBaseUriParameters() .entrySet()) { rootPathVariables.add(getPathVariable(entry.getKey(),
for (Entry<String, UriParameter> entry : raml.getBaseUriParameters() .entrySet()) { rootPathVariables.add(getPathVariable(entry.getKey(),
private void checkBaseUriParameters(VariableMatcher hostMatch, VariableMatcher pathMatch, Action action) { final ParameterChecker paramChecker = new ParameterChecker(requestViolations).acceptUndefined(); final Map<String, List<? extends AbstractParam>> baseUriParams = getEffectiveBaseUriParams(config.raml.getBaseUriParameters(), action); paramChecker.checkListParameters(baseUriParams, hostMatch.getVariables(), new Message("baseUriParam", locator)); paramChecker.checkListParameters(baseUriParams, pathMatch.getVariables(), new Message("baseUriParam", locator)); }