public function OpenApiGeneratorBase::getDefinitions in OpenAPI 8
Same name and namespace in other branches
- 8.2 src/Plugin/openapi/OpenApiGeneratorBase.php \Drupal\openapi\Plugin\openapi\OpenApiGeneratorBase::getDefinitions()
Get model definitions for Drupal entities and bundles.
Return value
array The model definitions.
Overrides OpenApiGeneratorInterface::getDefinitions
2 calls to OpenApiGeneratorBase::getDefinitions()
- OpenApiGeneratorBase::definitionExists in src/
Plugin/ openapi/ OpenApiGeneratorBase.php - Check whether a definitions exists for a key.
- OpenApiGeneratorBase::getSpecification in src/
Plugin/ openapi/ OpenApiGeneratorBase.php - Generates OpenAPI specification.
2 methods override OpenApiGeneratorBase::getDefinitions()
- JsonApiGenerator::getDefinitions in src/
Plugin/ openapi/ OpenApiGenerator/ JsonApiGenerator.php - Get model definitions for Drupal entities and bundles.
- RestGenerator::getDefinitions in src/
Plugin/ openapi/ OpenApiGenerator/ RestGenerator.php - Get model definitions for Drupal entities and bundles.
File
- src/
Plugin/ openapi/ OpenApiGeneratorBase.php, line 336
Class
- OpenApiGeneratorBase
- Defines base class for OpenApi Generator plugins.
Namespace
Drupal\openapi\Plugin\openapiCode
public function getDefinitions() {
return [];
}