Swagger_Documentation::register_documentation_provider( $path, Tribe__Documentation__Swagger__Provider_Interface $endpoint )

Registers a documentation provider for a path.


Parameters

$path

(Required)

$endpoint

(Tribe__Documentation__Swagger__Provider_Interface) (Required)


Top ↑

Source

File: src/Event_Automator/Zapier/REST/V1/Documentation/Swagger_Documentation.php

	public function register_documentation_provider( $path, Tribe__Documentation__Swagger__Provider_Interface $endpoint ) {
		$this->documentation_providers[ $path ] = $endpoint;
	}

Top ↑

Changelog

Changelog
Version Description
1.0.0 Introduced.