@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
34 lines (23 loc) • 1.16 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
| Parameter | Type | Description |
| --- | --- | --- |
| getEnhancers | Getter<[OASEnhancer](./openapi-v3.oasenhancer.md)<!-- -->\[\]> | |
| options | [OASEnhancerServiceOptions](./openapi-v3.oasenhancerserviceoptions.md) \| undefined | _(Optional)_ |