You are here

public function JsonApiGenerator::getBasePath in OpenAPI 8

Get base path for schema.

Return value

string String name with a leading slash.

Overrides OpenApiGeneratorBase::getBasePath

File

src/Plugin/openapi/OpenApiGenerator/JsonApiGenerator.php, line 180

Class

JsonApiGenerator
Defines an OpenApi Schema Generator for the JsonApi module.

Namespace

Drupal\openapi\Plugin\openapi\OpenApiGenerator

Code

public function getBasePath() {
  return parent::getBasePath() . $this
    ->getJsonApiBase();
}