You are here

public function OpenApiGeneratorBase::getOptions in OpenAPI 8

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

Get the options for the current schema download.

Return value

array The options for generating the schema.

Overrides OpenApiGeneratorInterface::getOptions

2 calls to OpenApiGeneratorBase::getOptions()
RestGenerator::getPaths in src/Plugin/openapi/OpenApiGenerator/RestGenerator.php
Returns the paths information.
RestGenerator::getRestSupportedFormats in src/Plugin/openapi/OpenApiGenerator/RestGenerator.php
Returns a list of supported Format on REST.

File

src/Plugin/openapi/OpenApiGeneratorBase.php, line 174

Class

OpenApiGeneratorBase
Defines base class for OpenApi Generator plugins.

Namespace

Drupal\openapi\Plugin\openapi

Code

public function getOptions() {
  return $this->options;
}