mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 19:36:44 +03:00
28 lines
774 B
TypeScript
28 lines
774 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { Redoc, REDOC_DIRECTIVES } from './components/index';
|
|
import { REDOC_COMMON_DIRECTIVES } from './shared/components/index';
|
|
import { REDOC_PIPES } from './utils/pipes';
|
|
|
|
import { OptionsService, RedocEventsService, MenuService,
|
|
ScrollService, Hash, WarningsService } from './services/index';
|
|
import { SpecManager } from './utils/SpecManager';
|
|
|
|
@NgModule({
|
|
imports: [ BrowserModule ],
|
|
declarations: [ REDOC_DIRECTIVES, REDOC_COMMON_DIRECTIVES, REDOC_PIPES],
|
|
bootstrap: [ Redoc ],
|
|
providers: [
|
|
SpecManager,
|
|
RedocEventsService,
|
|
ScrollService,
|
|
Hash,
|
|
MenuService,
|
|
WarningsService,
|
|
OptionsService
|
|
]
|
|
})
|
|
export class RedocModule {
|
|
}
|