public function OpenApiGeneratorBase::getBasePath in OpenAPI 8
Same name and namespace in other branches
- 8.2 src/Plugin/openapi/OpenApiGeneratorBase.php \Drupal\openapi\Plugin\openapi\OpenApiGeneratorBase::getBasePath()
Get base path for schema.
Return value
string String name with a leading slash.
Overrides OpenApiGeneratorInterface::getBasePath
2 calls to OpenApiGeneratorBase::getBasePath()
- JsonApiGenerator::getBasePath in src/
Plugin/ openapi/ OpenApiGenerator/ JsonApiGenerator.php - Get base path for schema.
- OpenApiGeneratorBase::getSpecification in src/
Plugin/ openapi/ OpenApiGeneratorBase.php - Generates OpenAPI specification.
1 method overrides OpenApiGeneratorBase::getBasePath()
- JsonApiGenerator::getBasePath in src/
Plugin/ openapi/ OpenApiGenerator/ JsonApiGenerator.php - Get base path for schema.
File
- src/
Plugin/ openapi/ OpenApiGeneratorBase.php, line 253
Class
- OpenApiGeneratorBase
- Defines base class for OpenApi Generator plugins.
Namespace
Drupal\openapi\Plugin\openapiCode
public function getBasePath() {
return $this->request
->getBasePath();
}