code: public static void main(String[] args) throws IOException {
  		String outputDirectory = args[0];
  
  		for (final RestAPIVersion apiVersion : RestAPIVersion.values()) {
  			if (apiVersion == RestAPIVersion.V0) {
  				// this version exists only for testing purposes
  				continue;
  			}
  			createHtmlFile(
  				new DocumentingDispatcherRestEndpoint(),
  				apiVersion,
  				Paths.get(outputDirectory, "rest_" + apiVersion.getURLVersionPrefix() + "_dispatcher.html"));
  		}
  	}
docs: Generates the REST API documentation.
  
  @param args args[0] contains the directory into which the generated files are placed
  @throws IOException if any file operation failed