mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-28 19:43:43 +03:00
21 lines
473 B
JavaScript
21 lines
473 B
JavaScript
'use strict';
|
|
|
|
import {RedocComponent, BaseComponent} from '../base';
|
|
import {MethodsList} from '../MethodsList/methods-list';
|
|
|
|
@RedocComponent({
|
|
selector: 'paths-list',
|
|
templateUrl: './lib/components/PathsList/paths-list.html',
|
|
directives: [MethodsList]
|
|
})
|
|
export class PathsList extends BaseComponent {
|
|
constructor(schemaMgr) {
|
|
super(schemaMgr);
|
|
}
|
|
|
|
prepareModel() {
|
|
this.data = {};
|
|
this.data.paths = Object.keys(this.componentSchema.paths);
|
|
}
|
|
}
|