code: public void run( String[] args ) throws Exception {
  
  		// Check
  		File baseDirectory = null;
  		if( args.length != 1
  				|| ! (baseDirectory = new File( args[ 0 ])).exists())
  			throw new RuntimeException( "The path of the module's directory was expected as an argument." );
  
  		// Update
  		UpdateSwaggerJson updater = new UpdateSwaggerJson();
  		JsonObject newDef = updater.prepareNewDefinitions();
  		updater.updateSwaggerJson( baseDirectory, newDef );
  	}
docs: The method that does the job.
  @param args
  @throws Exception