@hydra-cg/heracles.ts > EntryPointCorrectingGraphTransformer
Tries to correct missing entry point in hydra:ApiDocumentation resource.
EntryPointCorrectingGraphTransformer
▸ 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
[]>