package.es.elements.Info.mjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-api-design-systems Show documentation
Show all versions of apidom-ns-api-design-systems Show documentation
API Design Systems 2021-05-07 namespace for ApiDOM.
The newest version!
import { ObjectElement } from '@swagger-api/apidom-core';
class Info extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'info';
}
get title() {
return this.get('title');
}
set title(title) {
this.set('title', title);
}
get description() {
return this.get('description');
}
set description(description) {
this.set('description', description);
}
}
export default Info;