main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
532 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { ReferenceElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
---|
| 2 | class Reference extends ReferenceElement {}
|
---|
| 3 | Object.defineProperty(Reference.prototype, 'description', {
|
---|
| 4 | get() {
|
---|
| 5 | return this.get('description');
|
---|
| 6 | },
|
---|
| 7 | set(description) {
|
---|
| 8 | this.set('description', description);
|
---|
| 9 | },
|
---|
| 10 | enumerable: true
|
---|
| 11 | });
|
---|
| 12 | Object.defineProperty(Reference.prototype, 'summary', {
|
---|
| 13 | get() {
|
---|
| 14 | return this.get('summary');
|
---|
| 15 | },
|
---|
| 16 | set(description) {
|
---|
| 17 | this.set('summary', description);
|
---|
| 18 | },
|
---|
| 19 | enumerable: true
|
---|
| 20 | });
|
---|
| 21 | export default Reference; |
---|
Note:
See
TracBrowser
for help on using the repository browser.