redoc/lib/components/Redoc/redoc.js

24 lines
757 B
JavaScript
Raw Normal View History

'use strict';
import {RedocComponent, BaseComponent} from '../base';
2015-10-27 20:44:08 +03:00
import SchemaManager from '../../utils/SchemaManager';
import ApiInfo from '../ApiInfo/api-info';
import ApiLogo from '../ApiLogo/api-logo';
2015-10-27 20:44:08 +03:00
import MethodsList from '../MethodsList/methods-list';
2015-11-16 02:10:04 +03:00
import SideMenu from '../SideMenu/side-menu';
import {ChangeDetectionStrategy} from 'angular2/core';
@RedocComponent({
selector: 'redoc',
2015-10-17 21:56:24 +03:00
providers: [SchemaManager],
templateUrl: './lib/components/Redoc/redoc.html',
2015-11-16 02:15:06 +03:00
styleUrls: ['./lib/components/Redoc/redoc.css'],
directives: [ApiInfo, ApiLogo, MethodsList, SideMenu],
changeDetection: ChangeDetectionStrategy.Default
})
2015-10-27 20:44:08 +03:00
export default class Redoc extends BaseComponent {
constructor(schemaMgr) {
super(schemaMgr);
}
}