@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
77 lines (40 loc) • 1.42 kB
Markdown
---
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) > [@loopback/openapi-v3](./openapi-v3.md) > [OASEnhancerService](./openapi-v3.oasenhancerservice.md) > [(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
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
getEnhancers
</td><td markdown="1">
Getter<[OASEnhancer](./openapi-v3.oasenhancer.md)<!-- -->\[\]>
</td><td markdown="1">
</td></tr>
<tr><td markdown="1">
options
</td><td markdown="1">
[OASEnhancerServiceOptions](./openapi-v3.oasenhancerserviceoptions.md) \| undefined
</td><td markdown="1">
_(Optional)_
</td></tr>
</tbody></table>