2015-10-07 12:47:57 +03:00
|
|
|
'use strict';
|
|
|
|
|
2015-10-09 23:19:35 +03:00
|
|
|
import {RedocComponent, BaseComponent} from '../base';
|
2015-10-07 12:47:57 +03:00
|
|
|
import {SchemaManager} from '../../utils/SchemaManager';
|
2015-10-08 23:27:02 +03:00
|
|
|
import {ApiInfo} from '../ApiInfo/api-info';
|
2015-10-08 23:21:51 +03:00
|
|
|
import {PathsList} from '../PathsList/paths-list';
|
2015-10-07 12:47:57 +03:00
|
|
|
|
2015-10-09 23:19:35 +03:00
|
|
|
@RedocComponent({
|
2015-10-07 12:47:57 +03:00
|
|
|
selector: 'redoc',
|
2015-10-17 21:56:24 +03:00
|
|
|
providers: [SchemaManager],
|
2015-10-07 12:47:57 +03:00
|
|
|
templateUrl: './lib/components/Redoc/redoc.html',
|
2015-10-08 23:27:02 +03:00
|
|
|
directives: [ApiInfo, PathsList]
|
2015-10-07 12:47:57 +03:00
|
|
|
})
|
2015-10-09 23:19:35 +03:00
|
|
|
export class Redoc extends BaseComponent {
|
2015-10-07 12:47:57 +03:00
|
|
|
constructor(schemaMgr) {
|
2015-10-09 23:19:35 +03:00
|
|
|
super(schemaMgr);
|
2015-10-07 12:47:57 +03:00
|
|
|
}
|
|
|
|
}
|