mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 17:13:44 +03:00
24 lines
757 B
JavaScript
24 lines
757 B
JavaScript
'use strict';
|
|
|
|
import {RedocComponent, BaseComponent} from '../base';
|
|
import SchemaManager from '../../utils/SchemaManager';
|
|
import ApiInfo from '../ApiInfo/api-info';
|
|
import ApiLogo from '../ApiLogo/api-logo';
|
|
import MethodsList from '../MethodsList/methods-list';
|
|
import SideMenu from '../SideMenu/side-menu';
|
|
import {ChangeDetectionStrategy} from 'angular2/core';
|
|
|
|
@RedocComponent({
|
|
selector: 'redoc',
|
|
providers: [SchemaManager],
|
|
templateUrl: './lib/components/Redoc/redoc.html',
|
|
styleUrls: ['./lib/components/Redoc/redoc.css'],
|
|
directives: [ApiInfo, ApiLogo, MethodsList, SideMenu],
|
|
changeDetection: ChangeDetectionStrategy.Default
|
|
})
|
|
export default class Redoc extends BaseComponent {
|
|
constructor(schemaMgr) {
|
|
super(schemaMgr);
|
|
}
|
|
}
|