@RequestMapping(value = "/parse", method = RequestMethod.GET)
	public DocumentParseResultResource validate(@RequestParam("definitions") String definitions) {
		DocumentParseResult parse = multilineStreamParser.parse(definitions.split("\n"));
		return assembler.toResource(parse);
	}
Accept a whole list of definitions and report whether they are valid as a whole or not.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/ToolsController.java