Page Contents

Home > @loopback/openapi-v3 > OASEnhancerService > applyEnhancerByName

OASEnhancerService.applyEnhancerByName() method

Apply a given enhancer’s merge function. Return the latest _spec.

Signature:

applyEnhancerByName(name: string): Promise<OpenApiSpec>;

Parameters

Parameter Type Description
name string  

Returns:

Promise<OpenApiSpec>