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

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: 830 bytes
Line 
1"use strict";
2
3exports.__esModule = true;
4exports.default = void 0;
5var _apidomCore = require("@swagger-api/apidom-core");
6class Response extends _apidomCore.ObjectElement {
7 constructor(content, meta, attributes) {
8 super(content, meta, attributes);
9 this.element = 'response';
10 }
11 get description() {
12 return this.get('description');
13 }
14 set description(description) {
15 this.set('description', description);
16 }
17 get headers() {
18 return this.get('headers');
19 }
20 set headers(headers) {
21 this.set('headers', headers);
22 }
23 get contentProp() {
24 return this.get('content');
25 }
26 set contentProp(contentProp) {
27 this.set('content', contentProp);
28 }
29 get links() {
30 return this.get('links');
31 }
32 set links(links) {
33 this.set('links', links);
34 }
35}
36var _default = exports.default = Response;
Note: See TracBrowser for help on using the repository browser.