public function NullGenerator::getProduces in OpenAPI 8.2
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 OpenApiGeneratorBase::getProduces
File
- tests/
modules/ openapi_test/ src/ Plugin/ openapi/ OpenApiGenerator/ NullGenerator.php, line 48
Class
- NullGenerator
- The test generator.
Namespace
Drupal\openapi_test\Plugin\openapi\OpenApiGeneratorCode
public function getProduces() {
return [
'null',
];
}