You are here

abstract public function OpenApiGeneratorBase::getApiName in OpenAPI 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/openapi/OpenApiGeneratorBase.php \Drupal\openapi\Plugin\openapi\OpenApiGeneratorBase::getApiName()

Gets the API name.

Return value

string The API name.

1 call to OpenApiGeneratorBase::getApiName()
OpenApiGeneratorBase::getInfo in src/Plugin/openapi/OpenApiGeneratorBase.php
Creates the 'info' portion of the API.
2 methods override OpenApiGeneratorBase::getApiName()
JsonApiGenerator::getApiName in src/Plugin/openapi/OpenApiGenerator/JsonApiGenerator.php
Gets the API name.
RestGenerator::getApiName in src/Plugin/openapi/OpenApiGenerator/RestGenerator.php
Gets the API name.

File

src/Plugin/openapi/OpenApiGeneratorBase.php, line 248

Class

OpenApiGeneratorBase
Defines base class for OpenApi Generator plugins.

Namespace

Drupal\openapi\Plugin\openapi

Code

public abstract function getApiName();