You are here

public function JsonApiGenerator::getBasePath in OpenAPI for JSON:API 3.x

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

File

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

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();
}