package.es.elements.Reference.mjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-openapi-3-1 Show documentation
Show all versions of apidom-ns-openapi-3-1 Show documentation
OpenAPI 3.1.x namespace for ApiDOM.
The newest version!
import { ReferenceElement } from '@swagger-api/apidom-ns-openapi-3-0';
class Reference extends ReferenceElement {}
Object.defineProperty(Reference.prototype, 'description', {
get() {
return this.get('description');
},
set(description) {
this.set('description', description);
},
enumerable: true
});
Object.defineProperty(Reference.prototype, 'summary', {
get() {
return this.get('summary');
},
set(description) {
this.set('summary', description);
},
enumerable: true
});
export default Reference;