Open Data Catalog v2.0.0
Drupal\dkan_metastore\WebServiceApiDocs Class Reference
Inheritance diagram for Drupal\dkan_metastore\WebServiceApiDocs:

Public Member Functions

 __construct (Docs $docsController, Service $metastoreService, DataModifierManager $pluginManager)
 
 getDatasetSpecific (string $identifier)
 

Static Public Member Functions

static create (ContainerInterface $container)
 

Detailed Description

Provides dataset-specific OpenAPI documentation.

Definition at line 16 of file WebServiceApiDocs.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\dkan_metastore\WebServiceApiDocs::__construct ( Docs  $docsController,
Service  $metastoreService,
DataModifierManager  $pluginManager 
)

Constructs a new WebServiceApiDocs.

Parameters
\Drupal\dkan_api\Controller\Docs$docsControllerServes openapi spec for dataset-related endpoints.
\Drupal\dkan_metastore\Service$metastoreServiceMetastore service.
\Drupal\dkan_common\Plugin\DataModifierManager$pluginManagerMetastore plugin manager.

Definition at line 68 of file WebServiceApiDocs.php.

Member Function Documentation

◆ create()

static Drupal\dkan_metastore\WebServiceApiDocs::create ( ContainerInterface  $container)
static

{}

Definition at line 50 of file WebServiceApiDocs.php.

◆ getDatasetSpecific()

Drupal\dkan_metastore\WebServiceApiDocs::getDatasetSpecific ( string  $identifier)

Returns only dataset-specific GET requests for the API spec.

Parameters
string$identifierDataset uuid.
Returns
\Symfony\Component\HttpFoundation\JsonResponse OpenAPI spec response.

Definition at line 85 of file WebServiceApiDocs.php.