You are here

public function OpenApiGeneratorInterface::getConsumes in OpenAPI 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/openapi/OpenApiGeneratorInterface.php \Drupal\openapi\Plugin\openapi\OpenApiGeneratorInterface::getConsumes()

Get a list of all MIME Type that the API Consumes

Return value

array An array of all MIME Type that the API Consumes

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

File

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

Class

OpenApiGeneratorInterface
Defines OpenApiGeneratorInterface for OpenApi Generator Plugins.

Namespace

Drupal\openapi\Plugin\openapi

Code

public function getConsumes();