You are here

public function OpenApiGeneratorInterface::getProduces in OpenAPI 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/openapi/OpenApiGeneratorInterface.php \Drupal\openapi\Plugin\openapi\OpenApiGeneratorInterface::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

1 method overrides OpenApiGeneratorInterface::getProduces()
OpenApiGeneratorBase::getProduces in src/Plugin/openapi/OpenApiGeneratorBase.php
Get a list of all MIME Type that the API Produces

File

src/Plugin/openapi/OpenApiGeneratorInterface.php, line 140

Class

OpenApiGeneratorInterface
Defines OpenApiGeneratorInterface for OpenApi Generator Plugins.

Namespace

Drupal\openapi\Plugin\openapi

Code

public function getProduces();