mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 01:23:43 +03:00
19 lines
403 B
JavaScript
19 lines
403 B
JavaScript
'use strict';
|
|
|
|
import {RedocComponent, BaseComponent} from '../base';
|
|
|
|
@RedocComponent({
|
|
selector: 'api-info',
|
|
styleUrls: ['./lib/components/ApiInfo/api-info.css'],
|
|
templateUrl: './lib/components/ApiInfo/api-info.html'
|
|
})
|
|
export default class ApiInfo extends BaseComponent {
|
|
constructor(schemaMgr) {
|
|
super(schemaMgr);
|
|
}
|
|
|
|
prepareModel() {
|
|
this.data = this.componentSchema.info;
|
|
}
|
|
}
|