Swagger_Documentation::register_documentation_provider( $path, Tribe__Documentation__Swagger__Provider_Interface $endpoint )
Registers a documentation provider for a path.
Contents
Parameters
- $path
-
(Required)
- $endpoint
-
(Tribe__Documentation__Swagger__Provider_Interface) (Required)
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;
}
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |