---
lang: en
title: 'API docs: openapi-v3.oasenhancerservice._constructor_'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/openapi-v3
permalink: /doc/en/lb4/apidocs.openapi-v3.oasenhancerservice._constructor_.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/openapi-v3](./openapi-v3.md) &gt; [OASEnhancerService](./openapi-v3.oasenhancerservice.md) &gt; [(constructor)](./openapi-v3.oasenhancerservice._constructor_.md)

## OASEnhancerService.(constructor)

Constructs a new instance of the `OASEnhancerService` class

**Signature:**

```typescript
constructor(
    getEnhancers: Getter<OASEnhancer[]>, 
    options?: OASEnhancerServiceOptions | undefined);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  getEnhancers | Getter&lt;[OASEnhancer](./openapi-v3.oasenhancer.md)<!-- -->\[\]&gt; |  |
|  options | [OASEnhancerServiceOptions](./openapi-v3.oasenhancerserviceoptions.md) \| undefined | _(Optional)_ |


