public function OpenApiGeneratorBase::getProduces in OpenAPI 8.2
Same name and namespace in other branches
- 8 src/Plugin/openapi/OpenApiGeneratorBase.php \Drupal\openapi\Plugin\openapi\OpenApiGeneratorBase::getProduces()
Get a list of all MIME Type that the API Produces
Return value
array An array of all MIME Type that the API Produces
Overrides OpenApiGeneratorInterface::getProduces
1 call to OpenApiGeneratorBase::getProduces()
- OpenApiGeneratorBase::getSpecification in src/
Plugin/ openapi/ OpenApiGeneratorBase.php - Generates OpenAPI specification.
1 method overrides OpenApiGeneratorBase::getProduces()
- NullGenerator::getProduces in tests/
modules/ openapi_test/ src/ Plugin/ openapi/ OpenApiGenerator/ NullGenerator.php - Get a list of all MIME Type that the API Produces
File
- src/
Plugin/ openapi/ OpenApiGeneratorBase.php, line 345
Class
- OpenApiGeneratorBase
- Defines base class for OpenApi Generator plugins.
Namespace
Drupal\openapi\Plugin\openapiCode
public function getProduces() {
return [];
}