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

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

Initial commit

  • Property mode set to 100644
File size: 735 bytes
RevLine 
[d24f17c]1import { ObjectElement } from '@swagger-api/apidom-core';
2class Response extends ObjectElement {
3 constructor(content, meta, attributes) {
4 super(content, meta, attributes);
5 this.element = 'response';
6 }
7 get description() {
8 return this.get('description');
9 }
10 set description(description) {
11 this.set('description', description);
12 }
13 get headers() {
14 return this.get('headers');
15 }
16 set headers(headers) {
17 this.set('headers', headers);
18 }
19 get contentProp() {
20 return this.get('content');
21 }
22 set contentProp(contentProp) {
23 this.set('content', contentProp);
24 }
25 get links() {
26 return this.get('links');
27 }
28 set links(links) {
29 this.set('links', links);
30 }
31}
32export default Response;
Note: See TracBrowser for help on using the repository browser.