Page Contents
Home > @loopback/openapi-v3 > OASEnhancerService > getEnhancerByName
OASEnhancerService.getEnhancerByName() method
Find an enhancer by its name
Signature:
getEnhancerByName<T extends OASEnhancer = OASEnhancer>(name: string): Promise<T | undefined>;
Parameters
Parameter | Type | Description |
---|---|---|
name | string | The name of the enhancer you want to find |
Returns:
Promise<T | undefined>