Skip to content

Commit b76cfb8

Browse files
fix(core): remove spec enhancer by default (#53)
GH-0
1 parent 3213f6d commit b76cfb8

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ typings/
6161
api-docs/
6262

6363
# Transpiled JavaScript files from Typescript
64-
dist/
64+
/dist
6565

6666
*.tsbuildinfo

src/component.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
import {
2-
Binding,
3-
Component,
4-
createBindingFromClass,
5-
inject,
6-
ProviderMap,
7-
} from '@loopback/core';
8-
import {DescSpecEnhancer} from './enhancer/spec-description-enhancer';
1+
import {Binding, Component, inject, ProviderMap} from '@loopback/core';
92

103
import {AuthorizationBindings} from './keys';
114
import {AuthorizeActionProvider} from './providers/authorization-action.provider';
@@ -46,6 +39,5 @@ export class AuthorizationComponent implements Component {
4639
]),
4740
];
4841
}
49-
this.bindings.push(createBindingFromClass(DescSpecEnhancer));
5042
}
5143
}

0 commit comments

Comments
 (0)