redoc/lib/components/Redoc/redoc.js
2015-12-20 23:34:20 +02:00

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);
}
}