You are here

public function SwaggerUiLibraryDiscoveryInterface::libraryVersion in Swagger UI Field Formatter 8.3

Gets the Swagger UI library version.

Return value

string The Swagger UI library version.

Throws

\Drupal\swagger_ui_formatter\Exception\SwaggerUiLibraryDiscoveryExceptionInterface

2 methods override SwaggerUiLibraryDiscoveryInterface::libraryVersion()
SwaggerUiLibraryDiscovery::libraryVersion in src/Service/SwaggerUiLibraryDiscovery.php
Gets the Swagger UI library version.
SwaggerUiLibraryDiscovery::libraryVersion in tests/modules/swagger_ui_formatter_test/src/Service/SwaggerUiLibraryDiscovery.php
Gets the Swagger UI library version.

File

src/Service/SwaggerUiLibraryDiscoveryInterface.php, line 33

Class

SwaggerUiLibraryDiscoveryInterface
Generic definition of a Swagger UI library discovery service.

Namespace

Drupal\swagger_ui_formatter\Service

Code

public function libraryVersion() : string;