class OpenApiGenerator in OpenAPI 8
Same name and namespace in other branches
- 8.2 src/Annotation/OpenApiGenerator.php \Drupal\openapi\Annotation\OpenApiGenerator
Defines an annotation object for OpenApiGenerator plugins.
Plugin Namespace: Plugin\openapi\OpenApiGenerator.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\openapi\Annotation\OpenApiGenerator
Expanded class hierarchy of OpenApiGenerator
See also
2 classes are annotated with OpenApiGenerator
- JsonApiGenerator in src/
Plugin/ openapi/ OpenApiGenerator/ JsonApiGenerator.php - Defines an OpenApi Schema Generator for the JsonApi module.
- RestGenerator in src/
Plugin/ openapi/ OpenApiGenerator/ RestGenerator.php - Defines an OpenApi Schema Generator for the Rest module.
File
- src/
Annotation/ OpenApiGenerator.php, line 16
Namespace
Drupal\openapi\AnnotationView source
class OpenApiGenerator extends Plugin {
/**
* The plugin id.
*
* @var string
*/
public $id;
/**
* The plugin label.
*
* @var string
*/
public $label;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OpenApiGenerator:: |
public | property | The plugin id. | |
OpenApiGenerator:: |
public | property | The plugin label. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |