public function NullGenerator::getConsumes in OpenAPI 8.2
Get a list of all MIME Type that the API Consumes
Return value
array An array of all MIME Type that the API Consumes
Overrides OpenApiGeneratorBase::getConsumes
File
- tests/
modules/ openapi_test/ src/ Plugin/ openapi/ OpenApiGenerator/ NullGenerator.php, line 41
Class
- NullGenerator
- The test generator.
Namespace
Drupal\openapi_test\Plugin\openapi\OpenApiGeneratorCode
public function getConsumes() {
return [
'null',
];
}