You are here

public function OpenApiGeneratorInterface::setOptions in OpenAPI 8.2

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

Set the options for the current schema download.

@todo Document all options.

Parameters

array $options: The options for the specification generation.

  • exclude: Array of Entity types or bundles to exclude in the format, "[ENTITY_TYPE]" or "[ENTITY_TYPE]:[BUNDLE]".
1 method overrides OpenApiGeneratorInterface::setOptions()
OpenApiGeneratorBase::setOptions in src/Plugin/openapi/OpenApiGeneratorBase.php
Set the options for the current schema download.

File

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

Class

OpenApiGeneratorInterface
Defines OpenApiGeneratorInterface for OpenApi Generator Plugins.

Namespace

Drupal\openapi\Plugin\openapi

Code

public function setOptions($options);