source: node_modules/@swagger-api/apidom-ns-openapi-3-0/cjs/elements/Reference.cjs@ e48199a

main
Last change on this file since e48199a was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 480 bytes
RevLine 
[d24f17c]1"use strict";
2
3exports.__esModule = true;
4exports.default = void 0;
5var _apidomCore = require("@swagger-api/apidom-core");
6class Reference extends _apidomCore.ObjectElement {
7 constructor(content, meta, attributes) {
8 super(content, meta, attributes);
9 this.element = 'reference';
10 this.classes.push('openapi-reference');
11 }
12 get $ref() {
13 return this.get('$ref');
14 }
15 set $ref($ref) {
16 this.set('$ref', $ref);
17 }
18}
19var _default = exports.default = Reference;
Note: See TracBrowser for help on using the repository browser.