Heracles.ts

@hydra-cg/heracles.ts > EntryPointCorrectingGraphTransformer

Class: EntryPointCorrectingGraphTransformer

Tries to correct missing entry point in hydra:ApiDocumentation resource.

Hierarchy

EntryPointCorrectingGraphTransformer

Implements

Index

Methods


Methods

transform

transform(graph: object[], processor: IHypermediaProcessor, options?: IHypermediaProcessingOptions): Promise<object[]>

Implementation of IGraphTransformer.transform

Defined in JsonLd/GraphTransformations/EntryPointCorrectingGraphTransformer.ts:11

Tranforms a given graph.

Parameters:

Name Type
graph object[]
processor IHypermediaProcessor
Optional options IHypermediaProcessingOptions

Returns: Promise<object[]>