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\OpenApiGeneratorCode
public function getBasePath() {
return parent::getBasePath() . $this
->getJsonApiBase();
}