Public Member Functions | |
__construct (DkanApiDocsGenerator $docsGenerator, Service $metastore, Settings $settings) | |
getDatasetSpecific (string $identifier) | |
Public Attributes | |
const | SPEC_PARAMETERS |
const | SPEC_SCHEMAS |
const | SPEC_RESPONSES |
Provides dataset-specific OpenAPI documentation.
Definition at line 12 of file DatasetApiDocs.php.
Drupal\metastore\DatasetApiDocs::__construct | ( | DkanApiDocsGenerator | $docsGenerator, |
Service | $metastore, | ||
Settings | $settings | ||
) |
Constructs a new MetastoreDocsController.
\Drupal\common\DkanApiDocsGenerator | $docsGenerator | Serves openapi spec. |
\Drupal\metastore\Service | $metastore | The metastore service. |
\Drupal\Core\Site\Settings | $settings | The Drupal settings service. |
Definition at line 85 of file DatasetApiDocs.php.
Drupal\metastore\DatasetApiDocs::getDatasetSpecific | ( | string | $identifier | ) |
Returns only dataset-specific GET requests for the API spec.
string | $identifier | Dataset uuid. |
Definition at line 100 of file DatasetApiDocs.php.
const Drupal\metastore\DatasetApiDocs::SPEC_PARAMETERS |
Definition at line 14 of file DatasetApiDocs.php.
const Drupal\metastore\DatasetApiDocs::SPEC_RESPONSES |
Definition at line 48 of file DatasetApiDocs.php.
const Drupal\metastore\DatasetApiDocs::SPEC_SCHEMAS |
Definition at line 33 of file DatasetApiDocs.php.