Page Contents

Home > @loopback/openapi-v3 > OASEnhancerService > (constructor)

OASEnhancerService.(constructor)

Constructs a new instance of the OASEnhancerService class

Signature:

constructor(
    getEnhancers: Getter<OASEnhancer[]>, 
    options?: OASEnhancerServiceOptions | undefined);

Parameters

Parameter Type Description
getEnhancers Getter<[OASEnhancer](/doc/en/lb4/apidocs.openapi-v3.oasenhancer.html)\[\]>
options [OASEnhancerServiceOptions](/doc/en/lb4/apidocs.openapi-v3.oasenhancerserviceoptions.html) \| undefined _(Optional)_