You are here

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\OpenApiGenerator

Code

public function getProduces() {
  return [
    'null',
  ];
}