public function processRoutes($routes)
	{
		if (is_null($this->openAPI->paths)) {
			$this->openAPI->paths = [];
		}

		foreach ($routes as $route) {
			$this->processRoute($route);
		}

	}
public function processRoutes($routes)
	{
		if (is_null($this->openAPI->paths)) {
			$this->openAPI->paths = [];
		}

		foreach ($routes as $route) {
			$this->processRoute($route);
		}

	}
public function processRoutes ( $ routes ) { if ( is_null ( $ this -> openAPI -> paths ) ) { $ this -> openAPI -> paths = [ ] ; } foreach ( $ routes as $ route ) { $ this -> processRoute ( $ route ) ; } }
Process routes and create path item objects on the root Open API document.

@param mixed $routes
Process routes and create path item objects on the root Open API document .