You are here

public function RestGenerator::getApiName in OpenAPI 8

Gets the API name.

Return value

string The API name.

Overrides OpenApiGeneratorBase::getApiName

File

src/Plugin/openapi/OpenApiGenerator/RestGenerator.php, line 421

Class

RestGenerator
Defines an OpenApi Schema Generator for the Rest module.

Namespace

Drupal\openapi\Plugin\openapi\OpenApiGenerator

Code

public function getApiName() {
  return $this
    ->t('REST API');
}