You are here

public function JsonApiGenerator::getBasePath in OpenAPI for JSON:API 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/openapi/OpenApiGenerator/JsonApiGenerator.php \Drupal\openapi_jsonapi\Plugin\openapi\OpenApiGenerator\JsonApiGenerator::getBasePath()

File

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

Class

JsonApiGenerator
Defines an OpenApi Schema Generator for the JsonApi module.

Namespace

Drupal\openapi_jsonapi\Plugin\openapi\OpenApiGenerator

Code

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